去掉首页定时刷新今日订单数据
This commit is contained in:
parent
7dd91b77f3
commit
fcc0644787
|
@ -2,8 +2,8 @@
|
|||
"name" : "盛安到家",
|
||||
"appid" : "__UNI__B37C795",
|
||||
"description" : "",
|
||||
"versionName" : "2.1.0",
|
||||
"versionCode" : 110,
|
||||
"versionName" : "2.1.1",
|
||||
"versionCode" : 120,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
|
|
@ -775,12 +775,13 @@ export default {
|
|||
// #endif
|
||||
let that = this
|
||||
if (that.time) clearInterval(that.time);
|
||||
if (this.isLogin) {
|
||||
that.time = setInterval(function () {
|
||||
that.getNewOrder()
|
||||
console.log(that.time);
|
||||
}, 10000)
|
||||
}
|
||||
that.getNewOrder()
|
||||
// if (this.isLogin) {
|
||||
// that.time = setInterval(function () {
|
||||
// that.getNewOrder()
|
||||
// console.log("啊实打实大苏打",that.time);
|
||||
// }, 100)
|
||||
// }
|
||||
} else {
|
||||
console.log(this.userId,"false============>");
|
||||
this.isLogin = false
|
||||
|
|
Loading…
Reference in New Issue