|
@@ -88,6 +88,7 @@
|
|
|
return {
|
|
|
otherCor: true,
|
|
|
hideLg:false,
|
|
|
+ otherLg:undefined,
|
|
|
ruleForm2: {
|
|
|
tel: '',
|
|
|
pwd: ''
|
|
@@ -108,6 +109,7 @@
|
|
|
},
|
|
|
mounted() {
|
|
|
this.hideLg = window.location.hash.indexOf("hideLg=")>-1;
|
|
|
+ this.otherLg = window.location.hash.indexOf("otherLg=")>-1;
|
|
|
if (window.history && window.history.pushState) {
|
|
|
history.pushState(null, null, document.URL);
|
|
|
window.addEventListener('popstate', function () {
|
|
@@ -167,6 +169,7 @@
|
|
|
} else if (res.data.code == '0') {
|
|
|
const token = JSON.stringify(res.data.data);
|
|
|
localStorage.setItem("token", token);
|
|
|
+ localStorage.setItem("hashParam", window.location.hash.replace("#/",""));
|
|
|
this.$message({
|
|
|
message: '登录成功!',
|
|
|
type: 'success',
|