禁止之后也访问

This commit is contained in:
2020-11-24 10:56:51 +08:00
parent a861bc5232
commit 388a5df6b0
4 changed files with 61 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ export default defineComponent({
if(getValue('token')){
console.log("token")
store.commit("login", true)
store.dispatch("getcode");
store.dispatch("setUserInfo");
}else{