form-custom-test 3.0.44 → 3.0.45

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
@@ -25182,7 +25182,16 @@ const _sfc_main$o = {
25182
25182
  return !!this.formConfig && !!this.formConfig.customClass ? this.formConfig.customClass : "";
25183
25183
  }
25184
25184
  },
25185
- watch: {},
25185
+ watch: {
25186
+ formData: {
25187
+ deep: true,
25188
+ handler(newVal) {
25189
+ if (!newVal || typeof newVal !== "object")
25190
+ return;
25191
+ this.setFormData(newVal);
25192
+ }
25193
+ }
25194
+ },
25186
25195
  created() {
25187
25196
  this.buildFormModel(!this.formJsonObj ? null : this.formJsonObj.widgetList);
25188
25197
  this.initFormObject();
@@ -25727,7 +25736,7 @@ function _sfc_render$o(_ctx, _cache, $props, $setup, $data, $options) {
25727
25736
  _: 3
25728
25737
  }, 8, ["label-position", "size", "class", "label-width", "model"]);
25729
25738
  }
25730
- var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-32478e29"]]);
25739
+ var VFormRender = /* @__PURE__ */ _export_sfc$1(_sfc_main$o, [["render", _sfc_render$o], ["__scopeId", "data-v-58149a88"]]);
25731
25740
  function registerIcon(app) {
25732
25741
  app.component("el-icon-edit", edit);
25733
25742
  app.component("el-icon-minus", minus);
@@ -25742,13 +25751,13 @@ function registerIcon(app) {
25742
25751
  if (typeof window !== "undefined") {
25743
25752
  let loadSvg = function() {
25744
25753
  var body = document.body;
25745
- var svgDom = document.getElementById("__svg__icons__dom__1772520728759__");
25754
+ var svgDom = document.getElementById("__svg__icons__dom__1772526688330__");
25746
25755
  if (!svgDom) {
25747
25756
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
25748
25757
  svgDom.style.position = "absolute";
25749
25758
  svgDom.style.width = "0";
25750
25759
  svgDom.style.height = "0";
25751
- svgDom.id = "__svg__icons__dom__1772520728759__";
25760
+ svgDom.id = "__svg__icons__dom__1772526688330__";
25752
25761
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
25753
25762
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
25754
25763
  }