isFrom 由sessionstorage 改为localStorage

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2023-12-25 14:57:28 +08:00
parent a6a2571bd2
commit 4ea8be88a4
3 changed files with 3 additions and 3 deletions

View File

@@ -197,7 +197,7 @@ export default {
}
})
this.selectTab()
if(window.sessionStorage.getItem('isFrom') == 'GBCsale') {
if(window.localStorage.getItem('isFrom') == 'GBCsale') {
this.isFrom = 'GBCsale'
that.gbcProjectDetail()
}

View File

@@ -175,7 +175,7 @@ export default {
},
goDetail(data){
if(data.route == '/sale/list') {
window.sessionStorage.setItem('isFrom','GBCsale')
window.localStorage.setItem('isFrom','GBCsale')
}
this.$jump({
flag: 'h5',

View File

@@ -717,7 +717,7 @@
this.areaValue = '520000'
}
this.areaLists = areaLists
if(window.sessionStorage.getItem('isFrom') == 'GBCsale') {
if(window.localStorage.getItem('isFrom') == 'GBCsale') {
this.isFrom = 'GBCsale'
this.gbcProjectDetail()
this.getDepartmentByProjectNo()