mixin/mixin.js
@@ -50,6 +50,7 @@ // regAvatarUrl: 'https://youzhen123.oss-cn-huhehaote.aliyuncs.com/WechatOwnerProperty/images/mrtx.png', regUserName: '', regAvatarUrl: '', previewImgSign:false, } }, methods: { @@ -78,6 +79,10 @@ this.regUserName = e.detail.value; // 获取微信昵称 }, handleContact(e) { console.log(e.detail.path) console.log(e.detail.query) }, @@ -142,12 +147,12 @@ //最好更新一下 idsMap[item.id] = { ...idsMap[item.id], ...item,//覆盖了 ...item, //覆盖了 } hasnew = true } } if(hasnew){ if (hasnew) { this.$forceUpdate() }