chore: 规范menuArrowIconNoTransition 写法

This commit is contained in:
xiaoxian521 2022-11-17 15:29:12 +08:00
parent 13a0db0180
commit 12db42892d
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

2
types/global.d.ts vendored
View File

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