mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-12 09:18:14 +08:00
🛂 关闭 User 测试页面入口
This commit is contained in:
@@ -106,11 +106,11 @@
|
|||||||
</v-list-group>
|
</v-list-group>
|
||||||
<v-divider />
|
<v-divider />
|
||||||
<div class="bottom-menu">
|
<div class="bottom-menu">
|
||||||
<v-list-item v-show="isDev" :title="userInfo.nickname" value="user" link href="/user">
|
<!-- <v-list-item v-show="isDev" :title="userInfo.nickname" value="user" link href="/user">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<img :src="userInfo.avatar" alt="userIcon" class="side-icon">
|
<img :src="userInfo.avatar" alt="userIcon" class="side-icon">
|
||||||
</template>
|
</template>
|
||||||
</v-list-item>
|
</v-list-item> -->
|
||||||
<v-list-item :title="themeTitle" value="theme" @click="switchTheme()">
|
<v-list-item :title="themeTitle" value="theme" @click="switchTheme()">
|
||||||
<template #prepend>
|
<template #prepend>
|
||||||
<v-icon style="color:var(--sidebar-icon)">
|
<v-icon style="color:var(--sidebar-icon)">
|
||||||
@@ -139,13 +139,13 @@ import { useAppStore } from "../store/modules/app";
|
|||||||
const appStore = useAppStore();
|
const appStore = useAppStore();
|
||||||
|
|
||||||
// 测试数据
|
// 测试数据
|
||||||
const userInfo = {
|
// const userInfo = {
|
||||||
nickname: "测试用户",
|
// nickname: "测试用户",
|
||||||
avatar: "/source/UI/defaultUser.webp",
|
// avatar: "/source/UI/defaultUser.webp",
|
||||||
};
|
// };
|
||||||
|
|
||||||
const rail = ref(appStore.sidebar.collapse);
|
const rail = ref(appStore.sidebar.collapse);
|
||||||
const isDev = ref(appStore.devMode);
|
// const isDev = ref(appStore.devMode);
|
||||||
// theme
|
// theme
|
||||||
const themeGet = computed({
|
const themeGet = computed({
|
||||||
get () {
|
get () {
|
||||||
|
|||||||
Reference in New Issue
Block a user