Explorar o código

chore: 规范`menuArrowIconNoTransition` 写法

xiaoxian521 %!s(int64=2) %!d(string=hai) anos
pai
achega
12db42892d

+ 1 - 1
public/serverConfig.json

@@ -16,7 +16,7 @@
   "EpThemeColor": "#409EFF",
   "ShowLogo": true,
   "ShowModel": "smart",
-  "menuArrowIconNoTransition": false,
+  "MenuArrowIconNoTransition": false,
   "MapConfigure": {
     "amapKey": "97b3248d1553172e81f168cf94ea667e",
     "options": {

+ 1 - 1
src/layout/components/sidebar/sidebarItem.vue

@@ -78,7 +78,7 @@ const getSpanStyle = computed(() => {
 });
 
 const expandCloseIcon = computed(() => {
-  return getConfig()?.menuArrowIconNoTransition ? "expand-close-icon" : "";
+  return getConfig()?.MenuArrowIconNoTransition ? "expand-close-icon" : "";
 });
 
 const onlyOneChild: childrenType = ref(null);

+ 1 - 1
types/global.d.ts

@@ -110,7 +110,7 @@ declare global {
     EpThemeColor?: string;
     ShowLogo?: boolean;
     ShowModel?: string;
-    menuArrowIconNoTransition?: boolean;
+    MenuArrowIconNoTransition?: boolean;
     MapConfigure?: {
       amapKey?: string;
       options: {