@tmagic/form 1.2.0 → 1.2.1

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.
@@ -1514,11 +1514,12 @@
1514
1514
  })) : vue.createCommentVNode("", true),
1515
1515
  vue.createVNode(vue.unref(design.TMagicTableColumn), {
1516
1516
  label: "\u64CD\u4F5C",
1517
- width: "55",
1517
+ width: __props.config.operateColWidth || 55,
1518
1518
  align: "center",
1519
1519
  fixed: __props.config.fixed === false ? void 0 : "left"
1520
1520
  }, {
1521
1521
  default: vue.withCtx((scope) => [
1522
+ vue.renderSlot(_ctx.$slots, "operateCol", { scope }),
1522
1523
  vue.withDirectives(vue.createVNode(vue.unref(design.TMagicIcon), {
1523
1524
  class: "m-table-delete-icon",
1524
1525
  onClick: ($event) => removeHandler(scope.$index + 1 + pagecontext.value * pagesize.value - 1)
@@ -1531,8 +1532,8 @@
1531
1532
  [vue.vShow, showDelete(scope.$index + 1 + pagecontext.value * pagesize.value - 1)]
1532
1533
  ])
1533
1534
  ]),
1534
- _: 1
1535
- }, 8, ["fixed"]),
1535
+ _: 3
1536
+ }, 8, ["width", "fixed"]),
1536
1537
  __props.sort && __props.model[vue.unref(modelName)] && __props.model[vue.unref(modelName)].length > 1 ? (vue.openBlock(), vue.createBlock(vue.unref(design.TMagicTableColumn), {
1537
1538
  key: 1,
1538
1539
  label: "\u6392\u5E8F",
@@ -1626,10 +1627,10 @@
1626
1627
  ], 64);
1627
1628
  }), 256))
1628
1629
  ]),
1629
- _: 1
1630
+ _: 3
1630
1631
  }, 8, ["row-key", "data", "border", "max-height"])) : vue.createCommentVNode("", true)
1631
1632
  ]),
1632
- _: 1
1633
+ _: 3
1633
1634
  }, 8, ["disabled"]),
1634
1635
  vue.renderSlot(_ctx.$slots, "default"),
1635
1636
  vue.unref(addable) ? (vue.openBlock(), vue.createBlock(vue.unref(design.TMagicButton), {