修复:不存在区县运营角色时 - 点击区县运营中心无反应
This commit is contained in:
parent
76a1221880
commit
e81e120d4e
|
|
@ -6,13 +6,13 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user`
|
|||
let openPlantGrass = '-openPlantGrass-'
|
||||
|
||||
// 网络接口修改此字符 小程序域名要求https
|
||||
let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
|
||||
// let httpApi = 'https://mp.scwmbh.cn/' // 生产
|
||||
// let httpApi = 'https://bt.test.cdlfjy.com/' // 开发
|
||||
let httpApi = 'https://mp.scwmbh.cn/' // 生产
|
||||
|
||||
|
||||
// 聊天接口修改此字符 小程序聊天要求wss 例如:
|
||||
let wsApi = 'wss://bt.test.cdlfjy.com'
|
||||
// let wsApi = 'wss://mp.scwmbh.cn'
|
||||
// let wsApi = 'wss://bt.test.cdlfjy.com'
|
||||
let wsApi = 'wss://mp.scwmbh.cn'
|
||||
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
|
|
@ -773,7 +773,7 @@
|
|||
this.identityCurrent = this.identity[keyName] || {};
|
||||
let len = Object.keys(this.identityCurrent).length || 0;
|
||||
// 根据数据进行对应的操作
|
||||
if(len <= 0) return false;
|
||||
if(len <= 0 && (type != 'county' || (type == 'county' && !this.userInfo.service && !this.userInfo.shopMerService))) return false;
|
||||
else if(len == 1 || type == 'headquarters') this.goToAgentCenter(this.identityCurrent[0]);
|
||||
else this.$refs.agentIdentitySelect.open('bottom');
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue