From fa77766eef902b31a1edccbd25d9d3e3dead960d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=99=93=E7=90=AA?= Date: Mon, 29 Aug 2022 14:42:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E7=94=9F=E7=99=BB=E5=BD=95=E5=BC=BA?= =?UTF-8?q?=E5=88=B6=E4=BF=AE=E6=94=B9=E5=AF=86=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue | 2 +- Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js | 2 +- .../LearunApp-2.2.0/pages/weixinLogin.vue | 7 +++---- .../LearunApp-2.2.0/pages/welcome/list.vue | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue index e8e26ff44..46d92c1be 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue @@ -10,7 +10,7 @@ // H5 刷新时获取当前页面路径 const pagePath = "/" + param.path; // 如果 H5 刷新后访问的不是首页/登录页/注册页,直接跳转回首页 - if (!["/pages/login", "/pages/weixinLogin","/pages/home", "/pages/signup"].includes(pagePath)) { + if (!["/pages/login", "/pages/weixinLogin","/pages/home", "/pages/signup","/pages/my/newpassword"].includes(pagePath)) { this.$nextTick(() => { this.TAB_TO("/pages/home"); return; diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js index 74af92b42..ce761b07a 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js @@ -21,7 +21,7 @@ export default { // "http://192.168.2.98:8088/" // ], "apiHost": [ - "http://localhost:31173/" + "http://192.168.10.58:8012/" // "http://123.57.209.16:31173/" ], "webHost":"http://demo.bjquanjiang.com:8081/", diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue index 91f23dc8f..3e53e5411 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue @@ -145,7 +145,8 @@ export default { this.SET_STORAGE("token",success.baseinfo.token) // this.SET_STORAGE("logininfo",logininfo) // this.SET_STORAGE("userinfo",success) - location.href = "http://" + window.location.host; + location.href = "http://" + window.location.host + "/#/pages/my/newpassword"; + // location.href = "http://" + window.location.host; }else{ this.ready = true this.openid = success.openid @@ -163,8 +164,6 @@ export default { }, loginClick(){ - - // 点击登录 // 账号密码登录时,验证输入,输入有误则返回 if (!this.check()) { @@ -200,7 +199,7 @@ export default { } else { this.SET_STORAGE('pwd', false); } - location.href = "http://" + window.location.host; + location.href = "http://" + window.location.host + "/#/pages/my/newpassword"; }) }, diff --git a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue index 4033b5864..57f381538 100644 --- a/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue +++ b/Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue @@ -170,6 +170,7 @@ export default { this.HTTP_GET('StuInfoFresh/saveStuInfoFresh', this.queryData).then(res => { this.HIDE_LOADING(); if (res) { + this.NAV_TO("/pages/my/newpassword") this.TOAST('保存成功'); } });