@tmagic/form 1.3.0-alpha.3 → 1.3.0-alpha.5
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/dist/tmagic-form.js
CHANGED
|
@@ -759,7 +759,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
759
759
|
const mForm = inject("mForm");
|
|
760
760
|
const expand = ref(false);
|
|
761
761
|
watchEffect(() => {
|
|
762
|
-
expand.value = !props.index;
|
|
762
|
+
expand.value = props.config.expandAll || !props.index;
|
|
763
763
|
});
|
|
764
764
|
const rowConfig = computed(() => ({
|
|
765
765
|
type: "row",
|