mixin/mixin.js
@@ -78,6 +78,10 @@
         this.regUserName = e.detail.value; // 获取微信昵称
      },
      handleContact(e) {
         console.log(e.detail.path)
         console.log(e.detail.query)
      },
@@ -134,6 +138,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 +146,14 @@
                           //最好更新一下
                           idsMap[item.id] = {
                              ...idsMap[item.id],
                              ...item,//覆盖了
                              ...item, //覆盖了
                           }
                           hasnew = true
                        }
                     }
                     if (hasnew) {
                        this.$forceUpdate()
                     }
                  }
                  this.page.total = data.total || 0