From c8bf3927c9c2130f683018fc7397e21155aafaea Mon Sep 17 00:00:00 2001 From: cshaptx4869 <994774638@qq.com> Date: Fri, 24 May 2024 10:27:26 +0800 Subject: [PATCH] =?UTF-8?q?refactor(PageModal):=20:recycle:=20=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E6=93=8D=E4=BD=9C=E6=88=90=E5=8A=9F=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/PageModal/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/PageModal/index.vue b/src/components/PageModal/index.vue index 998304c5..74fad1d6 100644 --- a/src/components/PageModal/index.vue +++ b/src/components/PageModal/index.vue @@ -113,11 +113,11 @@ const handleSubmit = useThrottleFn(() => { let msg = "操作成功"; if (props.modalConfig.component === "drawer") { if (props.modalConfig.drawer?.title) { - msg = props.modalConfig.drawer?.title; + msg = `${props.modalConfig.drawer?.title}成功`; } } else { if (props.modalConfig.dialog?.title) { - msg = props.modalConfig.dialog?.title; + msg = `${props.modalConfig.dialog?.title}成功`; } } ElMessage.success(msg);