前端重构改良

This commit is contained in:
gotoeasy 2023-08-18 21:55:51 +08:00
parent 00952cdfe0
commit c75c9d72c8

View File

@ -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]);