fix(ApiSelect): ApiSelect首次选择值时仍然提示校验

pull/38/head
xingyu 2023-09-27 10:25:45 +08:00
parent af53aea1b2
commit cb979226c2
2 changed files with 1 additions and 1 deletions

View File

@ -128,6 +128,7 @@ function emitChange() {
} }
function handleChange(_, ...args) { function handleChange(_, ...args) {
emit('change', args[0] ? args[0].value : undefined)
emitData.value = args emitData.value = args
} }
</script> </script>

View File

@ -73,7 +73,6 @@ export const NO_AUTO_LINK_COMPONENTS: ComponentType[] = [
'Upload', 'Upload',
'ApiTransfer', 'ApiTransfer',
'ApiTree', 'ApiTree',
'ApiSelect',
'ApiTreeSelect', 'ApiTreeSelect',
'ApiRadioGroup', 'ApiRadioGroup',
'ApiCascader', 'ApiCascader',