tangning %!s(int64=3) %!d(string=hai) anos
pai
achega
2a6d2d1ae3
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      pages/roomManger/roomManger.js

+ 4 - 0
pages/roomManger/roomManger.js

@@ -217,8 +217,12 @@ Page({
         })
         })
         wx.hideLoading()
         wx.hideLoading()
         if (res.errno === 0) {
         if (res.errno === 0) {
+          let listNmb = this.data.listNmb
+          let objlistNmb = { 101:'Start', 102:'NotStart', }
+          listNmb[objlistNmb[this.data.fetcherData.state]] = res.data.count
           this.setData({
           this.setData({
             roomList: res.data.data,
             roomList: res.data.data,
+            listNmb,
           })
           })
         }
         }
       }).catch(err => {
       }).catch(err => {