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.
@@ -68451,13 +68451,13 @@ function registerIcon(app) {
68451
68451
  if (typeof window !== "undefined") {
68452
68452
  let loadSvg = function() {
68453
68453
  var body = document.body;
68454
- var svgDom = document.getElementById("__svg__icons__dom__1777525834315__");
68454
+ var svgDom = document.getElementById("__svg__icons__dom__1777534613494__");
68455
68455
  if (!svgDom) {
68456
68456
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68457
68457
  svgDom.style.position = "absolute";
68458
68458
  svgDom.style.width = "0";
68459
68459
  svgDom.style.height = "0";
68460
- svgDom.id = "__svg__icons__dom__1777525834315__";
68460
+ svgDom.id = "__svg__icons__dom__1777534613494__";
68461
68461
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68462
68462
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68463
68463
  }
@@ -79647,6 +79647,9 @@ const _sfc_main$1 = {
79647
79647
  this.unregisterFromRefList();
79648
79648
  },
79649
79649
  methods: {
79650
+ handleShowIsUpdate() {
79651
+ return !(this.field.options.disabled || !this.field.options.clickRow);
79652
+ },
79650
79653
  handleClose() {
79651
79654
  this.dialogVisible = false;
79652
79655
  this.triggerEvent("onClose");
@@ -79810,7 +79813,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
79810
79813
  ]),
79811
79814
  _: 1
79812
79815
  }),
79813
- !$props.field.options.disabled ? (openBlock(), createBlock(_component_el_table_column, {
79816
+ $options.handleShowIsUpdate() ? (openBlock(), createBlock(_component_el_table_column, {
79814
79817
  key: 0,
79815
79818
  prop: "isUpdate",
79816
79819
  align: "center",
@@ -79818,7 +79821,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
79818
79821
  label: "\u662F\u5426\u5DF2\u5B8C\u6210\u586B\u5199"
79819
79822
  }, {
79820
79823
  default: withCtx(({ row }) => [
79821
- createTextVNode(toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
79824
+ createTextVNode(toDisplayString($props.field.options.clickRow) + " " + toDisplayString(row.isUpdate ? "\u662F" : "\u5426"), 1)
79822
79825
  ]),
79823
79826
  _: 1
79824
79827
  })) : createCommentVNode("", true)