form-custom-test 3.0.118 → 3.0.119

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/render.es.js CHANGED
@@ -26185,13 +26185,13 @@ function registerIcon(app) {
26185
26185
  if (typeof window !== "undefined") {
26186
26186
  let loadSvg = function() {
26187
26187
  var body = document.body;
26188
- var svgDom = document.getElementById("__svg__icons__dom__1777525842236__");
26188
+ var svgDom = document.getElementById("__svg__icons__dom__1777534622242__");
26189
26189
  if (!svgDom) {
26190
26190
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26191
26191
  svgDom.style.position = "absolute";
26192
26192
  svgDom.style.width = "0";
26193
26193
  svgDom.style.height = "0";
26194
- svgDom.id = "__svg__icons__dom__1777525842236__";
26194
+ svgDom.id = "__svg__icons__dom__1777534622242__";
26195
26195
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26196
26196
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26197
26197
  }
@@ -62928,6 +62928,9 @@ const _sfc_main$1 = {
62928
62928
  this.unregisterFromRefList();
62929
62929
  },
62930
62930
  methods: {
62931
+ handleShowIsUpdate() {
62932
+ return !(this.field.options.disabled || !this.field.options.clickRow);
62933
+ },
62931
62934
  handleClose() {
62932
62935
  this.dialogVisible = false;
62933
62936
  this.triggerEvent("onClose");
@@ -63091,7 +63094,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
63091
63094
  ]),
63092
63095
  _: 1
63093
63096
  }),
63094
- !$props.field.options.disabled ? (openBlock(), createBlock(_component_el_table_column, {
63097
+ $options.handleShowIsUpdate() ? (openBlock(), createBlock(_component_el_table_column, {
63095
63098
  key: 0,
63096
63099
  prop: "isUpdate",
63097
63100
  align: "center",
@@ -63099,7 +63102,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
63099
63102
  label: "\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"
63100
63103
  }, {
63101
63104
  default: withCtx(({ row }) => [
63102
- createTextVNode(toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
63105
+ createTextVNode(toDisplayString($props.field.options.clickRow) + " " + toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
63103
63106
  ]),
63104
63107
  _: 1
63105
63108
  })) : createCommentVNode("", true)