jinx пре 4 година
родитељ
комит
8fa646c779
1 измењених фајлова са 5 додато и 1 уклоњено
  1. 5 1
      pages/searchRoom/searchRoom.js

+ 5 - 1
pages/searchRoom/searchRoom.js

@@ -88,11 +88,15 @@ Page({
         })
       }
     }
+   
     if (!this.data.loading) {
-
       this.setData({
         loading: true
       })
+      wx.showLoading({
+        title: '加载中...',
+      });
+    
       util.request(api.BrandList, this.data.fetcherData).then((res) => {
         this.setData({
           loading: false