Commit 42315d7e by zhangquan

添加数字化延保storage

1 parent 40e1842d
......@@ -755,7 +755,7 @@ export default {
this.accountLevel = session.accountLevel
this.merchantId = session.merchantId
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) {
this.tableCoulumList = temp
} else {
......@@ -963,7 +963,7 @@ export default {
},
changTableCoulum(e) {
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) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!