Browse Source

失去焦点bug

hella_online_20240829
zhang_li 4 months ago
parent
commit
2f36630c54
  1. 3
      src/components/BasicForm/src/BasicForm.vue

3
src/components/BasicForm/src/BasicForm.vue

@ -841,10 +841,9 @@ const onChange = (field, cur) => {
*/
const onBlur = async (field, e) => {
isExecute.value = false
let formSchemaObj = formSchema.value.find((item) => item.field == field)?.componentProps
if (formSchemaObj?.enterSearch) {
if (formSchemaObj.searchPage) {
if (formSchemaObj.searchPage && formSchemaObj.verificationParams) {
//data.ts
let searchCondition =
formSchema.value.find((item) => item.field == field)?.componentProps?.searchCondition || []

Loading…
Cancel
Save