From 16696b259e984e86d07ae981d031d0c54bdc7089 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 08 三月 2024 10:05:39 +0800 Subject: [PATCH] 1、消息确认页面完成所有布局及功能 2、通过调整刷新页面的登出账号方式为路由跳转至登录页面,以试图解决token过期后无法正常跳转的问题(未在现场调试) --- 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