From 221bb1704bb74b38655c2cd2413242885b5cc614 Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期日, 28 四月 2024 09:50:55 +0800 Subject: [PATCH] 1、调整路由模式为hash模式以试图解决项目上线后刷新页面后无法正常跳转页面而出现JSON页面问题 2、首页设备级看板点击报修按钮跳转至故障报修页面并根据设备编号筛选页面对应数据 --- 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