Skip to content

Commit afc1670

Browse files
committed
Merge branch 'master' of https://github.com/yudaocode/yudao-ui-admin-vue3 into dev
2 parents 5d08916 + b131320 commit afc1670

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Icon/src/IconSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ watch(
9595
return props.modelValue
9696
},
9797
() => {
98-
if (props.modelValue) {
98+
if (props.modelValue && props.modelValue.contains(':')) {
9999
currentActiveType.value = props.modelValue.substring(0, props.modelValue.indexOf(':') + 1)
100100
icon.value = props.modelValue.substring(props.modelValue.indexOf(':') + 1)
101101
}

0 commit comments

Comments
 (0)