fix(components): [rate] fix disbaledVoidIcon typo (#6456)

fix #6455
This commit is contained in:
Shana-AE 2022-03-11 14:35:16 +08:00 committed by GitHub
parent 195224f745
commit 152f4dbf3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ export const rateProps = buildProps({
type: iconPropType,
default: () => Star,
},
disabledvoidIcon: {
disabledVoidIcon: {
type: iconPropType,
default: () => StarFilled,
},

View File

@ -155,7 +155,7 @@ export default defineComponent({
getValueFromMap(props.modelValue, componentMap.value)
)
const voidComponent = computed(() =>
rateDisabled.value ? props.disabledvoidIcon : props.voidIcon
rateDisabled.value ? props.disabledVoidIcon : props.voidIcon
)
const activeComponent = computed(() =>
getValueFromMap(currentValue.value, componentMap.value)