From e81e120d4edf49c8e85f6f802c935d2254c1c096 Mon Sep 17 00:00:00 2001 From: wuhui_zzw <1760308791@qq.com> Date: Sat, 2 Mar 2024 17:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E4=B8=8D=E5=AD=98?= =?UTF-8?q?=E5=9C=A8=E5=8C=BA=E5=8E=BF=E8=BF=90=E8=90=A5=E8=A7=92=E8=89=B2?= =?UTF-8?q?=E6=97=B6=20-=20=E7=82=B9=E5=87=BB=E5=8C=BA=E5=8E=BF=E8=BF=90?= =?UTF-8?q?=E8=90=A5=E4=B8=AD=E5=BF=83=E6=97=A0=E5=8F=8D=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 8 ++++---- pages/user/index.vue | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/config/app.js b/config/app.js index e76d97b..6a45260 100644 --- a/config/app.js +++ b/config/app.js @@ -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 = { diff --git a/pages/user/index.vue b/pages/user/index.vue index ad37cbf..d49faff 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -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'); },