add teams opts

This commit is contained in:
2026-08-01 03:29:41 +07:00
parent 47d43d61a8
commit 1d6e2fe478
3 changed files with 126 additions and 9 deletions
+6 -4
View File
@@ -1,6 +1,6 @@
<script setup lang="ts">
import { useMessage } from 'naive-ui'
import { NButton, NCard, NInput, NModal, NTag } from 'naive-ui'
import { NButton, NCard, NInput, NModal, NTag, NFlex } from 'naive-ui'
import { ref } from 'vue'
import { useRouter } from 'vue-router'
@@ -77,9 +77,11 @@ getScenarios()
</template>
<n-input v-model:value="newScenarioName" type="text" placeholder='Дело №0 "Следствие ведут овечки"' />
<template #footer>
<n-button @click="addScenario(newScenarioName)" :disabled="newScenarioName.length == 0">
Создать
</n-button>
<n-flex justify="end">
<n-button @click="addScenario(newScenarioName)" :disabled="newScenarioName.length == 0">
Создать
</n-button>
</n-flex>
</template>
</n-card>
</n-modal>