no message

This commit is contained in:
A1300399510
2024-01-03 18:31:15 +08:00
parent b2e7cb8f45
commit 3778105266
967 changed files with 114 additions and 140485 deletions

View File

@@ -11,6 +11,8 @@
</template>
<script setup>
const route = useRoute()
// 是否是 生产环境
const isProduction = import.meta.env.NODE_ENV === "production"
watchEffect(() => {
if (typeof window !== "undefined" && route.path) {
@@ -26,7 +28,7 @@ watchEffect(() => {
})
onMounted(() => {
if (true) isNeedLogin.value = false
if (!isProduction) isNeedLogin.value = false
else determineIsLogin()
})