From 4fa524413c98f7547f1ba38d3ec6ed64ef6130aa Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期二, 04 三月 2025 17:02:43 +0800
Subject: [PATCH] art: 所有设备 台账 页签不直接渲染dom,切换时渲染

---
 src/views/system/modules/PasswordModal.vue |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/views/system/modules/PasswordModal.vue b/src/views/system/modules/PasswordModal.vue
index 810cc5f..ed45ce5 100644
--- a/src/views/system/modules/PasswordModal.vue
+++ b/src/views/system/modules/PasswordModal.vue
@@ -105,11 +105,17 @@
             this.confirmLoading = true;
             let formData = Object.assign(this.model, values);
             changePassword(formData).then((res)=>{
-              if(res.success){
-                this.$message.success(res.message);
+              if(res.success){;
+                this.$notification.success({
+                  message:'娑堟伅',
+                  description:res.message
+                });
                 this.$emit('ok');
               }else{
-                this.$message.warning(res.message);
+                this.$notification.warning({
+                  message:'娑堟伅',
+                  description:res.message
+                });
               }
             }).finally(() => {
               this.confirmLoading = false;

--
Gitblit v1.9.3