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

T1

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