We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c461800 commit f436490Copy full SHA for f436490
src/components/Icon/src/IconSelect.vue
@@ -95,7 +95,7 @@ watch(
95
return props.modelValue
96
},
97
() => {
98
- if (props.modelValue && props.modelValue.contains(':')) {
+ if (props.modelValue && props.modelValue.indexOf(':') >= 0) {
99
currentActiveType.value = props.modelValue.substring(0, props.modelValue.indexOf(':') + 1)
100
icon.value = props.modelValue.substring(props.modelValue.indexOf(':') + 1)
101
}
0 commit comments