Commit 81cbddb7 authored by 吴冠's avatar 吴冠

T8

parent ca6254ac
...@@ -102,9 +102,9 @@ export default { ...@@ -102,9 +102,9 @@ export default {
size:10, size:10,
noticeType:'ENQUIRY' noticeType:'ENQUIRY'
} }
if(Cookies.get("details",{ path: '/', domain: '60.205.251.80' })){ if(Cookies.get("details",{ domain: 'http://60.205.251.80:8081'})=="1"){
console.log(111111111111111111) console.log(111111111111111111)
mes.currentPage = Cookies.get("currentPage",{ path: '/', domain: '60.205.251.80' }) mes.currentPage = Cookies.get("currentPage",{ domain: 'http://60.205.251.80:8081' })
} }
const res = await industryList(); const res = await industryList();
console.log(33333333333333333) console.log(33333333333333333)
...@@ -112,9 +112,9 @@ export default { ...@@ -112,9 +112,9 @@ export default {
/* Cookies.remove("details",{ path: '' }) /* Cookies.remove("details",{ path: '' })
Cookies.remove("currentPage",{ path: '' }) */ Cookies.remove("currentPage",{ path: '' }) */
console.log(222222222222222222222222) console.log(222222222222222222222222)
Cookies.remove('currentPage', { path: '/', domain: '60.205.251.80' }); Cookies.remove('currentPage', { path: '/', domain: 'http://60.205.251.80:8081' });
console.log(3333333333333333333333) console.log(3333333333333333333333)
Cookies.remove('details', { path: '/', domain: '60.205.251.80' }); Cookies.remove('details', { path: '/', domain: 'http://60.205.251.80:8081' });
return { return {
priceList : data, priceList : data,
total : total, total : total,
...@@ -258,7 +258,7 @@ export default { ...@@ -258,7 +258,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,{ expires: 7, path: '' }) Cookies.set("currentPage",val,{path:'/',domain: 'http://60.205.251.80:8081'})
this.getInquiryList(mess); this.getInquiryList(mess);
}, },
dealDisabledDate(time) { dealDisabledDate(time) {
...@@ -269,7 +269,7 @@ export default { ...@@ -269,7 +269,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,{ expires: 7, path: '' }) Cookies.set("details",'1',{path:'/',domain: 'http://60.205.251.80:8081'})
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