From d9d1b4332986fae66a00ef1f309d50560588920c Mon Sep 17 00:00:00 2001 From: jt <jt@activesoft.com> Date: 星期四, 09 二月 2023 17:06:28 +0800 Subject: [PATCH] test --- pages/login/index.vue | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/pages/login/index.vue b/pages/login/index.vue index 470b9fc..b3ed9cc 100644 --- a/pages/login/index.vue +++ b/pages/login/index.vue @@ -283,6 +283,13 @@ this.$store.dispatch('login',loginInfo).then(success=>{ console.log(success); if (success.code == '00000') { + //鐧诲綍鎴愬姛鍚庢竻绌虹紦瀛樻暟鎹�+ this.$store.commit("areaFunc",null); + this.$store.commit("classAttrList",null); + this.$store.commit("classGridStyleInfo",null); + this.$store.commit("dicValueInfo",null); + this.$store.commit("subClassAttrList",null); + this.$store.commit("subClassGridStyleInfo",null); //璁剧疆鍏ㄥ眬鍙傛暟锛歶ser-鐢ㄦ埛淇℃伅 uni.setStorageSync('server',loginInfo.server); // uni.setStorageSync('account',loginInfo.uname); @@ -298,6 +305,7 @@ // url:'../index/index?args=9999999999' // }); this.login="寮�鐧诲綍"; + }else{ uni.showModal({title:"閿欒",content:success.msg,showCancel:false,confirmText:"鍙栨秷"}); this.login="寮�鐧诲綍"; -- Gitblit v1.9.1