From a541d61c0c2a111f9f87fde14d3557e37c3f1546 Mon Sep 17 00:00:00 2001
From: dzk <18285973401@163.com>
Date: 星期三, 17 四月 2024 23:49:07 +0800
Subject: [PATCH] 修复用户表单角色为非必填项的BUG

---
 src/layout/components/AppMain.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue
index 2b38a4e..9e3dde4 100644
--- a/src/layout/components/AppMain.vue
+++ b/src/layout/components/AppMain.vue
@@ -24,7 +24,7 @@
 const animationEnable = ref(useSettingsStore().animationEnable);
 watch(
   () => useSettingsStore().animationEnable,
-  (val) => {
+  (val: boolean) => {
     animationEnable.value = val;
     if (val) {
       animante.value = proxy?.animate.animateList[Math.round(Math.random() * proxy?.animate.animateList.length)] as string;

--
Gitblit v1.9.3