diff --git a/public/serverConfig.json b/public/serverConfig.json index e83e9caaa..8de35b77b 100644 --- a/public/serverConfig.json +++ b/public/serverConfig.json @@ -16,7 +16,7 @@ "EpThemeColor": "#409EFF", "ShowLogo": true, "ShowModel": "smart", - "menuArrowIconNoTransition": false, + "MenuArrowIconNoTransition": false, "MapConfigure": { "amapKey": "97b3248d1553172e81f168cf94ea667e", "options": { diff --git a/src/layout/components/sidebar/sidebarItem.vue b/src/layout/components/sidebar/sidebarItem.vue index 5f284e1d4..be4ac7fda 100644 --- a/src/layout/components/sidebar/sidebarItem.vue +++ b/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); diff --git a/types/global.d.ts b/types/global.d.ts index a5c5fb995..8af7d27d5 100644 --- a/types/global.d.ts +++ b/types/global.d.ts @@ -110,7 +110,7 @@ declare global { EpThemeColor?: string; ShowLogo?: boolean; ShowModel?: string; - menuArrowIconNoTransition?: boolean; + MenuArrowIconNoTransition?: boolean; MapConfigure?: { amapKey?: string; options: {