feat(dashboard): 新增比赛管理仪表盘功能
添加比赛管理仪表盘页面,包含比赛卡片列表、状态标签和新增功能 移除旧的mine页面和相关路由配置 强制设置i18n语言为中文并更新系统标题 更新VSCode设置中的typescript格式化工具
This commit is contained in:
@ -4,7 +4,6 @@ import { getPaletteColorByNumber, mixColor } from '@sa/color'
|
||||
import { computed } from 'vue'
|
||||
import { loginModuleRecord } from '@/constants/app'
|
||||
import { $t } from '@/locales'
|
||||
import { useAppStore } from '@/store/modules/app'
|
||||
import { useThemeStore } from '@/store/modules/theme'
|
||||
import BindWechat from './modules/bind-wechat.vue'
|
||||
import CodeLogin from './modules/code-login.vue'
|
||||
@ -19,7 +18,7 @@ interface Props {
|
||||
|
||||
const props = defineProps<Props>()
|
||||
|
||||
const appStore = useAppStore()
|
||||
// const appStore = useAppStore()
|
||||
const themeStore = useThemeStore()
|
||||
|
||||
interface LoginModule {
|
||||
@ -67,13 +66,13 @@ const bgColor = computed(() => {
|
||||
class="text-20px lt-sm:text-18px"
|
||||
@switch="themeStore.toggleThemeScheme"
|
||||
/>
|
||||
<LangSwitch
|
||||
<!-- <LangSwitch
|
||||
v-if="themeStore.header.multilingual.visible"
|
||||
:lang="appStore.locale"
|
||||
:lang-options="appStore.localeOptions"
|
||||
:show-tooltip="false"
|
||||
@change-lang="appStore.changeLocale"
|
||||
/>
|
||||
/> -->
|
||||
</div>
|
||||
</header>
|
||||
<main class="pt-24px">
|
||||
|
||||
Reference in New Issue
Block a user