diff --git a/src/views/index/addWechat.vue b/src/views/index/addWechat.vue index 10bed558..d9928bd2 100644 --- a/src/views/index/addWechat.vue +++ b/src/views/index/addWechat.vue @@ -72,13 +72,13 @@ async nextStep() { if (!this.clickFlag) return; if(!this.wechatId) { - let res = await getContactQrCodeResult({ configId: this.configId }); + let res = await getContactQrCodeResult({ configId: this.configId, name: this.name }); this.wechatId = res?.data?.wechatId; } - /* if (!this.wechatId) { + if (!this.wechatId) { Toast('请先添加企微再继续'); return; - }*/ + } try { this.clickFlag = false; const res = await saveSupplier({