mirror of
https://github.com/gotoeasy/glogcenter.git
synced 2025-09-15 12:58:34 +08:00
前端重构改良
This commit is contained in:
parent
00952cdfe0
commit
c75c9d72c8
@ -230,7 +230,6 @@
|
||||
<script setup>
|
||||
import { useThemeStore, useTokenStore } from '~/pkgs';
|
||||
import { config } from '~/config';
|
||||
import { $msg } from '~/pkgs/index-pkgs';
|
||||
|
||||
const activeNames = '1';
|
||||
|
||||
@ -239,7 +238,7 @@ const themeStore = useThemeStore();
|
||||
const tokenStore = useTokenStore();
|
||||
|
||||
// 布局切换
|
||||
const selectLayout = name => (themeStore.layout = name);
|
||||
// const selectLayout = name => (themeStore.layout = name);
|
||||
|
||||
// 主题色切换
|
||||
const selectPrimaryColor = idx => (themeStore.primaryColor = config.primaryColors[idx]);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user