From 6dbb1377be96de2f498c16a6e25a8e999a7c48dd Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Sun, 4 Jan 2026 16:01:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E5=B7=B2=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=BF=94=E5=9B=9Enull=E6=97=B6=E4=B8=8D?= =?UTF-8?q?=E5=81=9A=E4=BB=BB=E4=BD=95=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mine/personList.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/mine/personList.vue b/src/views/mine/personList.vue index 4eb8a7f8..9aea1a5d 100644 --- a/src/views/mine/personList.vue +++ b/src/views/mine/personList.vue @@ -168,12 +168,12 @@ export default { }).then(async() => { let res=await confirmAddWechat({supplierId:this.supplierId,supplierPersonInfoId:this.personInfoId}) console.log('res',this.personInfo,res.data?.name,this.personInfo.wechatName) + if(res.data?.name == this.personInfo.wechatName){ + this.$set(this.personList[this.reviseIndex],'isChange',false) + }else { + this.$set(this.personList[this.reviseIndex],'isChange',true) + } if(res.data){ - if(res.data?.name == this.personInfo.wechatName){ - this.$set(this.personList[this.reviseIndex],'isChange',false) - }else { - this.$set(this.personList[this.reviseIndex],'isChange',true) - } this.personList[this.reviseIndex].wechatId=res.data?.externalUserId this.personList[this.reviseIndex].wechatName=res.data?.name }