@qin-ui/antd-vue-pro 2.0.6 → 2.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/form/index.js +1 -2
- package/package.json +1 -1
package/es/form/index.js
CHANGED
|
@@ -513,9 +513,8 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
513
513
|
const form = useForm(false);
|
|
514
514
|
const { getFormData, setFormData } = form;
|
|
515
515
|
const componentRef = ref();
|
|
516
|
+
const formItemContext = useInjectFormItemContext();
|
|
516
517
|
const triggerFormItemChange = () => {
|
|
517
|
-
if (COMPONENT_MAP.has(props.component)) return;
|
|
518
|
-
const formItemContext = useInjectFormItemContext();
|
|
519
518
|
formItemContext.onFieldChange();
|
|
520
519
|
};
|
|
521
520
|
const attrs = useAttrs();
|