Commit 47261356 authored by 邓晓峰's avatar 邓晓峰

fix: 修复切换数据库后登陆BUG

parent 4db6cf3e
Pipeline #29677 passed with stages
in 24 minutes 11 seconds
...@@ -17,7 +17,6 @@ import { SlideVerify } from '@wisdom-utils/components'; ...@@ -17,7 +17,6 @@ import { SlideVerify } from '@wisdom-utils/components';
const Logger = logger('login'); const Logger = logger('login');
class Login { class Login {
constructor(props, callback, isInit) { constructor(props, callback, isInit) {
debugger
this.events = window.share.event; this.events = window.share.event;
this.globalConfig = props.global; this.globalConfig = props.global;
this.updateConfig = props.updateConfig; this.updateConfig = props.updateConfig;
...@@ -82,7 +81,6 @@ class Login { ...@@ -82,7 +81,6 @@ class Login {
ignoreSite: true, ignoreSite: true,
}) })
.then(response => { .then(response => {
debugger
if (response && !response.errMsg) { if (response && !response.errMsg) {
self.globalConfig.userInfo = {}; self.globalConfig.userInfo = {};
if ( if (
......
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