修改打开弹窗写法
This commit is contained in:
5
app.vue
5
app.vue
@@ -42,10 +42,7 @@ onMounted(() => {
|
||||
};
|
||||
} else determineIsLogin();
|
||||
|
||||
const params = new URLSearchParams(window.location.search);
|
||||
const isLoginValue = params.get("islogin");
|
||||
if (isLoginValue == 1) getUserInfoWin();
|
||||
else realname.value = 1;
|
||||
getUserInfoWin();
|
||||
});
|
||||
|
||||
let isNeedLogin = ref(true); // 是否需要登录状态
|
||||
|
||||
Reference in New Issue
Block a user