form-custom-test 3.0.184 → 3.0.186

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
@@ -8966,7 +8966,6 @@ var fieldMixin = {
8966
8966
  }
8967
8967
  },
8968
8968
  handleOnChange(val, oldVal) {
8969
- console.log("handleOnChange", val, oldVal);
8970
8969
  if (!!this.field.options.onChange) {
8971
8970
  let changeFn = new Function("value", "oldValue", this.field.options.onChange);
8972
8971
  changeFn.call(this, val, oldVal);
@@ -26511,13 +26510,13 @@ function registerIcon(app) {
26511
26510
  if (typeof window !== "undefined") {
26512
26511
  let loadSvg = function() {
26513
26512
  var body = document.body;
26514
- var svgDom = document.getElementById("__svg__icons__dom__1780448209420__");
26513
+ var svgDom = document.getElementById("__svg__icons__dom__1780469893390__");
26515
26514
  if (!svgDom) {
26516
26515
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26517
26516
  svgDom.style.position = "absolute";
26518
26517
  svgDom.style.width = "0";
26519
26518
  svgDom.style.height = "0";
26520
- svgDom.id = "__svg__icons__dom__1780448209420__";
26519
+ svgDom.id = "__svg__icons__dom__1780469893390__";
26521
26520
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26522
26521
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26523
26522
  }
@@ -36337,6 +36336,7 @@ const _sfc_main$d = {
36337
36336
  });
36338
36337
  }
36339
36338
  });
36339
+ this.initDialogFormRules();
36340
36340
  },
36341
36341
  handleDeleteRow(index2) {
36342
36342
  this.$confirm("\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E00\u884C\u5417\uFF1F", "\u63D0\u793A", {
@@ -36367,6 +36367,10 @@ const _sfc_main$d = {
36367
36367
  }
36368
36368
  this.dialogFormData = formData;
36369
36369
  this.initDialogFormRules();
36370
+ nextTick(() => {
36371
+ var _a;
36372
+ (_a = this.$refs.dialogFormRef) == null ? void 0 : _a.resetFields();
36373
+ });
36370
36374
  },
36371
36375
  initDialogFormRules() {
36372
36376
  const rules = {};
@@ -36857,7 +36861,7 @@ function _sfc_render$d(_ctx, _cache, $props, $setup, $data, $options) {
36857
36861
  _: 1
36858
36862
  }, 8, ["widget"]);
36859
36863
  }
36860
- var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-63004f99"]]);
36864
+ var SubTableItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$d, [["render", _sfc_render$d], ["__scopeId", "data-v-33693201"]]);
36861
36865
  var ace$2 = { exports: {} };
36862
36866
  (function(module, exports) {
36863
36867
  (function() {