diff --git a/src/views/index/addWechat.vue b/src/views/index/addWechat.vue index 59f127c5..d66e03f6 100644 --- a/src/views/index/addWechat.vue +++ b/src/views/index/addWechat.vue @@ -68,7 +68,7 @@ async nextStep() { if (!this.clickFlag) return; let res = await getContactQrCodeResult({ configId: this.configId }); - this.wechatId = res?.data?.wechatId || 'test'; + this.wechatId = res?.data?.wechatId; if (!this.wechatId) { Toast('请先添加企微再继续'); return; @@ -87,6 +87,8 @@ localStorage.setItem('lastRoute', JSON.stringify(target)); this.goPage('supplierInfo', { id: res?.code }); }); + } else { + Toast('该服务商已存在'); } } else { localStorage.removeItem('supplierAddForm');