@tmagic/form 1.3.0-alpha.5 → 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.umd.cjs
CHANGED
|
@@ -755,10 +755,7 @@
|
|
|
755
755
|
setup(__props, { emit }) {
|
|
756
756
|
const props = __props;
|
|
757
757
|
const mForm = vue.inject("mForm");
|
|
758
|
-
const expand = vue.ref(
|
|
759
|
-
vue.watchEffect(() => {
|
|
760
|
-
expand.value = props.config.expandAll || !props.index;
|
|
761
|
-
});
|
|
758
|
+
const expand = vue.ref(props.config.expandAll || !props.index);
|
|
762
759
|
const rowConfig = vue.computed(() => ({
|
|
763
760
|
type: "row",
|
|
764
761
|
span: props.config.span || 24,
|
|
@@ -1009,7 +1006,7 @@
|
|
|
1009
1006
|
disabled: _ctx.disabled
|
|
1010
1007
|
}, {
|
|
1011
1008
|
default: vue.withCtx(() => [
|
|
1012
|
-
vue.createTextVNode("
|
|
1009
|
+
vue.createTextVNode("新增")
|
|
1013
1010
|
]),
|
|
1014
1011
|
_: 1
|
|
1015
1012
|
}, 8, ["disabled"])) : vue.createCommentVNode("", true),
|
|
@@ -1844,7 +1841,7 @@
|
|
|
1844
1841
|
onClick: _cache[2] || (_cache[2] = ($event) => newHandler())
|
|
1845
1842
|
}, {
|
|
1846
1843
|
default: vue.withCtx(() => [
|
|
1847
|
-
vue.createTextVNode("
|
|
1844
|
+
vue.createTextVNode("新增一行")
|
|
1848
1845
|
]),
|
|
1849
1846
|
_: 1
|
|
1850
1847
|
}, 8, ["disabled"])) : vue.createCommentVNode("", true),
|