Commit 42315d7e by zhangquan

添加数字化延保storage

1 parent 40e1842d
...@@ -755,7 +755,7 @@ export default { ...@@ -755,7 +755,7 @@ export default {
this.accountLevel = session.accountLevel this.accountLevel = session.accountLevel
this.merchantId = session.merchantId this.merchantId = session.merchantId
this.isAdmin = session.admin this.isAdmin = session.admin
let temp = JSON.parse(localStorage.getItem(`menuList${session.merchantId}`)) let temp = JSON.parse(localStorage.getItem(`${this.pageName == 'insurance' ? 'in' : ''}menuList${session.merchantId}`))
if (temp) { if (temp) {
this.tableCoulumList = temp this.tableCoulumList = temp
} else { } else {
...@@ -963,7 +963,7 @@ export default { ...@@ -963,7 +963,7 @@ export default {
}, },
changTableCoulum(e) { changTableCoulum(e) {
const { session } = this.$globalState const { session } = this.$globalState
localStorage.setItem(`menuList${session.merchantId}`, JSON.stringify(e)) localStorage.setItem(`${this.pageName == 'insurance' ? 'in' : ''}menuList${session.merchantId}`, JSON.stringify(e))
}, },
// 查看明细 // 查看明细
openDetail(item) { openDetail(item) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!