update editor

This commit is contained in:
2026-07-28 00:02:03 +07:00
parent 035bf4c30d
commit 5d3044abb9
4 changed files with 6 additions and 6 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -5,8 +5,8 @@
<link rel="icon" href="/favicon.ico"> <link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Вечерний детектив</title> <title>Вечерний детектив</title>
<script type="module" crossorigin src="/assets/index-BJl2SwEb.js"></script> <script type="module" crossorigin src="/assets/index-8fDlsCH5.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-CnSILpQu.css"> <link rel="stylesheet" crossorigin href="/assets/index-Dq4E0b3K.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
+2 -2
View File
@@ -277,11 +277,11 @@ async function deletePlace(place: Place) {
</PlaceBlock> </PlaceBlock>
<PlaceBlock :place="place" v-model:mode="place.mode" v-for="place in scenario.story?.places" <PlaceBlock :place="place" v-model:mode="place.mode" v-for="place in scenario.story?.places"
v-bind:key="place.code"> v-bind:key="place.oldCode">
<n-flex justify="end"> <n-flex justify="end">
<n-button @click="deletePlace(place)" type="error" ghost>Удалить</n-button> <n-button @click="deletePlace(place)" type="error" ghost>Удалить</n-button>
<n-button @click="cancelUpdatePlace(place)">Отмена</n-button> <n-button @click="cancelUpdatePlace(place)">Отмена</n-button>
<n-button @click="updatePlace(place)">Сохранить</n-button> <n-button @click="updatePlace(place)" :disabled="place.code == ''">Сохранить</n-button>
</n-flex> </n-flex>
</PlaceBlock> </PlaceBlock>
</div> </div>