From aa82f2ce6aabe78b47c927d7ae2d3ff08c59baaf Mon Sep 17 00:00:00 2001
From: xuxueyang <xuxy@fengyuntec.com>
Date: 星期三, 09 十月 2024 15:43:26 +0800
Subject: [PATCH] Merge branch 'master-2.0' of http://47.96.225.205:8888/r/hmy_farmer-main into master-2.0
---
mixin/mixin.js | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diff --git a/mixin/mixin.js b/mixin/mixin.js
index e1c5c9d..2564b5f 100644
--- a/mixin/mixin.js
+++ b/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)
+ },
@@ -134,6 +139,7 @@
idsMap[item.id] = item
}
}
+ var hasnew = false
for (var item of data.records) {
if (ids.indexOf(item.id) < 0) {
this.list.push(item)
@@ -141,10 +147,14 @@
//最好更新一下
idsMap[item.id] = {
...idsMap[item.id],
- ...item,//覆盖了
+ ...item, //覆盖了
}
+ hasnew = true
}
}
+ if (hasnew) {
+ this.$forceUpdate()
+ }
}
this.page.total = data.total || 0
--
Gitblit v1.9.3