Преглед изворни кода

feature: 处理一天时辰处理

Damon пре 8 месеци
родитељ
комит
e84735a84c
2 измењених фајлова са 5 додато и 2 уклоњено
  1. 5 0
      pages/index/index.js
  2. 0 2
      utils/util.js

+ 5 - 0
pages/index/index.js

@@ -846,6 +846,11 @@ Page({
         });
       }
       that.getDeviceData();
+    } else {
+      var greeting = that.getGreetBuNickName("");
+      that.setData({
+        greeting: greeting,
+      })
     }
   },
 

+ 0 - 2
utils/util.js

@@ -71,9 +71,7 @@ function request(url, data = {}, method = "GET", header = urlencodeType, isToken
   let fullurl = `${baseUrl}${url}`;
 
   //返回异步操作成功的结果和返回异步操作失败的结果
-  console.log("gadfadfqwwerqewrqwr===aaaaa=" + data.disShowLoading);
   if (!strings.isTrue(data.unShowLoad)) {
-    console.log("gadfadfqwwerqewrqwr===bbb=" + data.disShowLoading);
     wx.showLoading({
       title: '加载中',
     });