Browse Source

失去焦点bug

hella_online_20240829
zhang_li 5 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) => { const onBlur = async (field, e) => {
isExecute.value = false isExecute.value = false
let formSchemaObj = formSchema.value.find((item) => item.field == field)?.componentProps let formSchemaObj = formSchema.value.find((item) => item.field == field)?.componentProps
if (formSchemaObj?.enterSearch) { if (formSchemaObj?.enterSearch) {
if (formSchemaObj.searchPage) { if (formSchemaObj.searchPage && formSchemaObj.verificationParams) {
//data.ts //data.ts
let searchCondition = let searchCondition =
formSchema.value.find((item) => item.field == field)?.componentProps?.searchCondition || [] formSchema.value.find((item) => item.field == field)?.componentProps?.searchCondition || []

Loading…
Cancel
Save