From 55d42cc7a2e6e21e1f8e06ca80089fe911914ac9 Mon Sep 17 00:00:00 2001 From: hcong <1050828145@qq.com> Date: 星期四, 21 十一月 2024 11:20:16 +0800 Subject: [PATCH] 弹窗,抽屉关闭的操作放在统一包裹组件中 --- src/composables/formConfirm.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/composables/formConfirm.js b/src/composables/formConfirm.js index ffe4b1b..e1eafd1 100644 --- a/src/composables/formConfirm.js +++ b/src/composables/formConfirm.js @@ -1,4 +1,4 @@ -import { defineProps, onActivated, onDeactivated, ref, watch } from 'vue'; +import { defineProps, onActivated, onDeactivated, reactive, ref, watch } from 'vue'; import { useCloned } from '@vueuse/core'; import { useMessageBoxTip, useMessageBox } from './messageBox'; @@ -13,7 +13,7 @@ }, reset = { do: () => {} - } + }, }) { if (!submit.title) submit.title = '鎻愪氦'; if (!submit.msg) submit.msg = '纭鏄惁鎻愪氦锛�'; -- Gitblit v1.9.3