@tmagic/form 1.3.0-alpha.6 → 1.3.0-alpha.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/dist/tmagic-form.js +3 -6
- package/dist/tmagic-form.js.map +1 -1
- package/dist/tmagic-form.umd.cjs +3 -6
- package/dist/tmagic-form.umd.cjs.map +1 -1
- package/package.json +3 -3
- package/src/containers/GroupList.vue +1 -1
- package/src/containers/GroupListItem.vue +2 -6
- package/src/containers/Table.vue +1 -1
package/dist/tmagic-form.js
CHANGED
|
@@ -757,10 +757,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
757
757
|
setup(__props, { emit }) {
|
|
758
758
|
const props = __props;
|
|
759
759
|
const mForm = inject("mForm");
|
|
760
|
-
const expand = ref(
|
|
761
|
-
watchEffect(() => {
|
|
762
|
-
expand.value = props.config.expandAll || !props.index;
|
|
763
|
-
});
|
|
760
|
+
const expand = ref(props.config.expandAll || !props.index);
|
|
764
761
|
const rowConfig = computed(() => ({
|
|
765
762
|
type: "row",
|
|
766
763
|
span: props.config.span || 24,
|
|
@@ -1011,7 +1008,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
1011
1008
|
disabled: _ctx.disabled
|
|
1012
1009
|
}, {
|
|
1013
1010
|
default: withCtx(() => [
|
|
1014
|
-
createTextVNode("
|
|
1011
|
+
createTextVNode("新增")
|
|
1015
1012
|
]),
|
|
1016
1013
|
_: 1
|
|
1017
1014
|
}, 8, ["disabled"])) : createCommentVNode("", true),
|
|
@@ -1846,7 +1843,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
1846
1843
|
onClick: _cache[2] || (_cache[2] = ($event) => newHandler())
|
|
1847
1844
|
}, {
|
|
1848
1845
|
default: withCtx(() => [
|
|
1849
|
-
createTextVNode("
|
|
1846
|
+
createTextVNode("新增一行")
|
|
1850
1847
|
]),
|
|
1851
1848
|
_: 1
|
|
1852
1849
|
}, 8, ["disabled"])) : createCommentVNode("", true),
|