mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 20:06:49 +08:00
Merge branch 'develop' of ssh://gitlab.dongwu-inc.com:10022/BOE/fe-stu into develop
This commit is contained in:
@@ -38,8 +38,9 @@ import router from "@/router";
|
|||||||
|
|
||||||
console.log("版本2.0.4------------");
|
console.log("版本2.0.4------------");
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
|
const {path} = useRoute();
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getUserInfo();
|
path === '/login' || getUserInfo();
|
||||||
});
|
});
|
||||||
|
|
||||||
function getUserInfo() {
|
function getUserInfo() {
|
||||||
|
|||||||
Reference in New Issue
Block a user