Commit 8c6dbdc6 authored by 张瑶's avatar 张瑶

fix: 默认带菜单

parent 5987ec34
Pipeline #42144 passed with stages
in 1 minute 50 seconds
...@@ -45,7 +45,7 @@ class Login { ...@@ -45,7 +45,7 @@ class Login {
const redirect = params.getParams('redirect'); const redirect = params.getParams('redirect');
if(redirect) { if(redirect) {
this.globalConfig.homepage = redirect; this.globalConfig.homepage = redirect;
this.globalConfig.layout = 'blank'; // this.globalConfig.layout = 'blank';
} }
self.updateConfig && self.updateConfig(self.globalConfig); self.updateConfig && self.updateConfig(self.globalConfig);
...@@ -606,7 +606,7 @@ class Login { ...@@ -606,7 +606,7 @@ class Login {
.then(response => { .then(response => {
self.globalConfig.layout = 'blank'; // self.globalConfig.layout = 'blank';
if (response && response.token) { if (response && response.token) {
const tk = response.token; const tk = response.token;
self.globalConfig.token = tk; self.globalConfig.token = tk;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment