From 102c7d7dc9f5af873f19c86a0d17d5d6addcbc32 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期二, 19 九月 2023 17:39:28 +0800 Subject: [PATCH] 项目优化 --- src/views/system/modules/DepartList/DepartModal.vue | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/views/system/modules/DepartList/DepartModal.vue b/src/views/system/modules/DepartList/DepartModal.vue index 0d280a6..697ec7c 100644 --- a/src/views/system/modules/DepartList/DepartModal.vue +++ b/src/views/system/modules/DepartList/DepartModal.vue @@ -189,11 +189,19 @@ that.confirmLoading = true; httpAction(this.url.add,this.model,"post").then((res)=>{ if(res.success){ - that.$message.success(res.message); + // that.$message.success(res.message); + that.$notification.success({ + message:'娑堟伅', + description:res.message + }); that.loadTreeData(); that.$emit('ok'); }else{ - that.$message.warning(res.message); + // that.$message.warning(res.message); + that.$notification.warning({ + message:'娑堟伅', + description:res.message + }); } }).finally(() => { that.confirmLoading = false; -- Gitblit v1.9.3