From 17bb1250f2120415e5fc9f47fe50b60f72b47a07 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期日, 04 八月 2024 12:50:01 +0800 Subject: [PATCH] update 优化搜索事件 --- mixin/mixin.js | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mixin/mixin.js b/mixin/mixin.js index c49b777..ad5ad6e 100644 --- a/mixin/mixin.js +++ b/mixin/mixin.js @@ -78,6 +78,10 @@ this.regUserName = e.detail.value; // 获取微信昵称 }, + handleContact(e) { + console.log(e.detail.path) + console.log(e.detail.query) + }, @@ -142,12 +146,12 @@ //最好更新一下 idsMap[item.id] = { ...idsMap[item.id], - ...item,//覆盖了 + ...item, //覆盖了 } hasnew = true } } - if(hasnew){ + if (hasnew) { this.$forceUpdate() } -- Gitblit v1.9.3