generated from VLADIMIR/template_frontend
update editor
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Vendored
+2
-2
@@ -5,8 +5,8 @@
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Вечерний детектив</title>
|
||||
<script type="module" crossorigin src="/assets/index-DwuRYa2Z.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DEorfnlJ.css">
|
||||
<script type="module" crossorigin src="/assets/index-QYqB9Qrr.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CCtG0JXS.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -152,7 +152,7 @@ function onCreateKey(): Key {
|
||||
<template #create-button-default> Добавить улику </template>
|
||||
<template #default="{ value }">
|
||||
<div style="display: flex; align-items: center; width: 100%">
|
||||
<n-input v-model:value="value.name" type="text" />
|
||||
<n-input v-model:value="value.name" type="text" placeholder="Название" />
|
||||
</div>
|
||||
</template>
|
||||
</n-dynamic-input>
|
||||
|
||||
@@ -184,7 +184,7 @@ async function cancelUpdatePlace(place: Place) {
|
||||
}
|
||||
|
||||
async function updatePlace(place: Place) {
|
||||
if (place.fileList.length > 0) {
|
||||
if (place.fileList && place.fileList.length > 0) {
|
||||
const file = place.fileList[0].file || null
|
||||
if (file == null) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user