左侧图标跳转main

This commit is contained in:
2022-11-11 10:54:01 +08:00
parent 1856588f04
commit 0567df8d68
2 changed files with 9 additions and 5 deletions

View File

@@ -49,7 +49,7 @@ export default {
const path = location.href
if (path.indexOf('?') !== -1) {
const param = path.split('?')
localStorage.setItem('param', window.btoa(JSON.stringify(param[1])))
sessionStorage.setItem('param', window.btoa(JSON.stringify(param[1])))
}
},
methods: {