Browse Source

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

pull/3075/head
invalid w 3 years ago
committed by GitHub
parent
commit
b1559e2cad
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/components/Form/src/components/ApiSelect.vue
  2. 1
      src/components/Form/src/helper.ts

1
src/components/Form/src/components/ApiSelect.vue

@ -144,6 +144,7 @@
}
function handleChange(_, ...args) {
emit('change', args[0] ? args[0].value : undefined);
emitData.value = args;
}

1
src/components/Form/src/helper.ts

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

Loading…
Cancel
Save