|
@@ -91,7 +91,7 @@ var loginPage = new Vue({
|
|
|
_self.setStorages( _self.userData);
|
|
|
// 登录成功页面跳转
|
|
|
var loginBeforePath = getBaseCookie("loginBeforePath");
|
|
|
- if (loginBeforePath && loginBeforePath!=='undefined') {
|
|
|
+ if (loginBeforePath && loginBeforePath!='undefined' && loginBeforePath.indexOf('.html')>0) {
|
|
|
delBaseCookie("loginBeforePath");
|
|
|
window.location.href = loginBeforePath;
|
|
|
} else if (_self.userData.userIdentity*1 === 3) {
|
|
@@ -153,7 +153,7 @@ var loginPage = new Vue({
|
|
|
_self.setStorages( _self.userData);
|
|
|
// 登录成功页面跳转
|
|
|
var loginBeforePath = getBaseCookie("loginBeforePath");
|
|
|
- if (loginBeforePath && loginBeforePath!=='undefined') {
|
|
|
+ if (loginBeforePath && loginBeforePath!='undefined' && loginBeforePath.indexOf('.html')>0) {
|
|
|
delBaseCookie("loginBeforePath");
|
|
|
window.location.href = loginBeforePath;
|
|
|
} else if (_self.userData.userIdentity*1 === 3) {
|