home跳转

This commit is contained in:
2022-11-03 10:19:19 +08:00
parent cd977fbb29
commit 73a60d5da3
2 changed files with 15 additions and 4 deletions

View File

@@ -33,6 +33,11 @@ export default {
},
mounted() {
this.getModuleList()
const path = location.href
if (path.indexOf('?') !== -1) {
const param = path.split('?')
localStorage.setItem('param', window.btoa(JSON.stringify(param[1])))
}
},
methods: {
getModuleList() {