Commit 1e6d81fe authored by 吴冠's avatar 吴冠

T1

parent 628ba4a5
......@@ -107,8 +107,8 @@ export default {
}
const res = await industryList();
const {data,total} = await getInquiryList(mes)
Cookies.remove("details")
Cookies.remove("currentPage")
Cookies.remove("details",{ path: '' })
Cookies.remove("currentPage",{ path: '' })
return {
priceList : data,
total : total,
......@@ -252,7 +252,7 @@ export default {
mess.currentPage = val
this.getData.currentPage = val
mess.size = this.getData.size
Cookies.set("currentPage",val)
Cookies.set("currentPage",val,{ expires: 7, path: '' })
this.getInquiryList(mess);
},
dealDisabledDate(time) {
......@@ -263,7 +263,7 @@ export default {
return time.getTime() > Date.now() || time.getTime() < dateRegion;
},
handleChageUrl(id){
Cookies.set("details",true)
Cookies.set("details",true,{ expires: 7, path: '' })
return this.$router.push(`enquirydetails?id=${id}`)
}
},
......
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