fix[design]: 在创建页面添加保存提示

- 增加 Dialog 取提示是否保存
- 去除多余的 watch 导入
This commit is contained in:
Huangzhe
2025-03-25 13:55:32 +08:00
parent e6dcbfbba9
commit 64589679c8
3 changed files with 36 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, onMounted, ref, useTemplateRef, onUnmounted, watch } from 'vue';
import { computed, onMounted, ref, useTemplateRef, onUnmounted } from 'vue';
import { useRoute } from 'vue-router';
import { showConfirmDialog } from 'vant';