diff --git a/src/App.vue b/src/App.vue index 2b2422d..f5975d9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -58,7 +58,7 @@ export default { // 钉钉免登录 async handleDingtalkLogin (val = this.dingCode) { const res = await apiDingtalkLogin(val) - if (res && res.code === 0) { + if (res && res.code === 200) { this.$cookies.set('token', res.token) await this.handleInfo() this.dataForm.verify = '登录成功,跳转中...' diff --git a/src/views/kpi/workbench/index.vue b/src/views/kpi/workbench/index.vue index 9cf3c70..cd0e6ad 100644 --- a/src/views/kpi/workbench/index.vue +++ b/src/views/kpi/workbench/index.vue @@ -28,7 +28,7 @@ const islzmanagement = window.location.host.indexOf('hostList') > -1 && window.l export default { data () { return { - isShow: true, + isShow: false, islzmanagement, input: localStorage.getItem('input'), verify: '888888',