ソースを参照

新生登录强制修改密码

西昌缴费二期
杨晓琪 2年前
コミット
fa77766eef
4個のファイルの変更6行の追加6行の削除
  1. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/App.vue
  2. +1
    -1
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/config.js
  3. +3
    -4
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/weixinLogin.vue
  4. +1
    -0
      Learun.Framework.Ultimate V7/LearunApp-2.2.0/pages/welcome/list.vue

+ 1
- 1
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;


+ 1
- 1
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/",


+ 3
- 4
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";
})
},


+ 1
- 0
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('保存成功');
}
});


読み込み中…
キャンセル
保存