fix: 🐛 修复 LayoutSelect 值类型警告问题

This commit is contained in:
Ray.Hao
2025-02-20 08:22:42 +08:00
parent dc22dd182e
commit 9084de4843
2 changed files with 5 additions and 4 deletions

View File

@@ -96,7 +96,7 @@ const changeSidebarColorScheme = (val: any) => {
*
* @param layout 布局 LayoutEnum
*/
function changeLayout(layout: string) {
function changeLayout(layout: LayoutEnum) {
settingsStore.changeLayout(layout);
if (layout === LayoutEnum.MIX) {
route.name && againActiveTop(route.name as string);