Commit 56d38795 authored by youjie's avatar youjie

no message

parent 2d9b6316
...@@ -1872,12 +1872,7 @@ ...@@ -1872,12 +1872,7 @@
} }
} }
// 两小时请求一次改价提醒
setInterval(()=>{
if(!this.ChangeThePriceVisible){
this.GetChangeThePrice()
}
},7200000)
// 获取改价提醒 // 获取改价提醒
if(!localStorage.getItem("ChangeThePriceDataTime")|| if(!localStorage.getItem("ChangeThePriceDataTime")||
(localStorage.getItem("ChangeThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))){ (localStorage.getItem("ChangeThePriceDataTime")!=this.getBeforeDate(0, new Date().Format("yyyy-MM-dd")))){
...@@ -1887,6 +1882,14 @@ ...@@ -1887,6 +1882,14 @@
// this.ChangeThePriceData = JSON.parse(localStorage.getItem("ChangeThePriceData")) // this.ChangeThePriceData = JSON.parse(localStorage.getItem("ChangeThePriceData"))
// } // }
} }
// 两小时请求一次改价提醒
setInterval(()=>{
if(!this.ChangeThePriceVisible){
this.GetChangeThePrice()
}else{
clearInterval()
}
},7200000)
}, },
created() { created() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment