mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
重构多个组件以优化代码格式和可读性,删除不必要的文件,更新类型定义,添加数据分析路由
This commit is contained in:
@@ -20,8 +20,14 @@ onMounted(() => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<NSpin v-if="($route.query.token || cookie) && accountInfo.id < 1" style="margin: 0 auto;" />
|
||||
<div v-else style="height: 100vh">
|
||||
<slot></slot>
|
||||
<NSpin
|
||||
v-if="($route.query.token || cookie) && accountInfo.id < 1"
|
||||
style="margin: 0 auto;"
|
||||
/>
|
||||
<div
|
||||
v-else
|
||||
style="height: 100vh"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user