Merge pull request #2 from koutianyu/dev

修复新增或修改菜单时,无法选择菜单图标的bug
main
芋道源码 3 years ago committed by GitHub
commit b131320cc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -95,7 +95,7 @@ watch(
return props.modelValue
},
() => {
if (props.modelValue) {
if (props.modelValue && props.modelValue.contains(':')) {
currentActiveType.value = props.modelValue.substring(0, props.modelValue.indexOf(':') + 1)
icon.value = props.modelValue.substring(props.modelValue.indexOf(':') + 1)
}

Loading…
Cancel
Save