This commit is contained in:
weipengfei 2024-02-23 17:46:22 +08:00
parent 590a49dcea
commit 64b925e09a
2 changed files with 5 additions and 7 deletions

View File

@ -12,8 +12,8 @@ let httpApiSix
let wsApi let wsApi
// 在打包之前请检查当前环境是否正确 // 在打包之前请检查当前环境是否正确
const env = 'dev'; // 开发 // const env = 'dev'; // 开发
// const env = 'prod'; // 生产 const env = 'prod'; // 生产
// const env = 'prew'; // 预上线 // const env = 'prew'; // 预上线
switch (env) { switch (env) {

View File

@ -638,16 +638,14 @@
if (res.code == 0) { if (res.code == 0) {
this.company = '' this.company = ''
this.organization_code = '' this.organization_code = ''
this.$util.Tips({ // this.$util.Tips({
title: res.msg // title: res.msg
}); // });
return false; return false;
} else { } else {
this.company = res.data.title this.company = res.data.title
this.organization_code = res.data.organization_code this.organization_code = res.data.organization_code
} }
}).catch(res => { }).catch(res => {
console.log(res) console.log(res)
}) })