no message

This commit is contained in:
A1300399510
2024-01-09 15:29:19 +08:00
parent 52f8709125
commit a3546fb6cc
40 changed files with 310 additions and 299 deletions

14
app.vue
View File

@@ -12,7 +12,7 @@
<script setup>
const route = useRoute()
// 是否是 生产环境
const isProduction = import.meta.env.NODE_ENV === "production"
// const isProduction = import.meta.env.NODE_ENV === "production"
// watchEffect(() => {
// if (typeof window !== "undefined" && route.path) {
@@ -28,20 +28,10 @@ const isProduction = import.meta.env.NODE_ENV === "production"
// })
onMounted(() => {
console.log("isProduction", isProduction)
// console.log("isProduction", isProduction)
// if (!isProduction) isNeedLogin.value = false
// else determineIsLogin()
determineIsLogin()
// window["userInfoWin"] = {
// "username": "",
// "uid": 0,
// "uin": 0,
// "avatar": "https://oss.gter.net/avatar/97KwEWANd_4DHWiY6VbnSUFSCKroYWFjYQ~~?istype=1&random=CyXjyXyLDSrP",
// "messagenum": 0,
// "newprompt": 0,
// "todaysigned": 0,
// }
})
let isNeedLogin = ref(true) // 是否需要登录状态