From b4d1b318b27bb76c37bb1ef47ea57e8ea5ff04aa Mon Sep 17 00:00:00 2001 From: guoapeng Date: Sat, 26 Jul 2025 11:22:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BC=B9=E7=AA=97=E5=A2=9E=E5=8A=A0loa?= =?UTF-8?q?ding?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/FTDialog/index.vue | 8 +++++++- src/components/craft/AddCraft/index.vue | 35 +++++++++++++++++++------------- src/views/craft/index.vue | 2 +- 3 files changed, 29 insertions(+), 16 deletions(-) diff --git a/src/components/common/FTDialog/index.vue b/src/components/common/FTDialog/index.vue index d83cedc..6ec4ce1 100644 --- a/src/components/common/FTDialog/index.vue +++ b/src/components/common/FTDialog/index.vue @@ -18,6 +18,10 @@ const props = defineProps({ type: Function, default: () => {}, }, + loading: { + type: Boolean, + default: false, + }, }) const emits = defineEmits(['update:visible', 'ok', 'cancel']) @@ -54,7 +58,9 @@ watch( :width="width" :before-close="cancel" > - +
+ +