form-custom-test 3.0.125 → 3.0.127

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
@@ -10905,7 +10905,6 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
10905
10905
  "sub-form-row-id": $props.subFormRowId
10906
10906
  }, {
10907
10907
  default: withCtx(() => [
10908
- createTextVNode(toDisplayString($data.fieldModel) + " ", 1),
10909
10908
  createElementVNode("div", _hoisted_1$v, [
10910
10909
  _ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$k, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
10911
10910
  createVNode(_component_el_upload, {
@@ -10935,14 +10934,14 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
10935
10934
  createElementVNode("div", _hoisted_6$b, [
10936
10935
  createElementVNode("div", _hoisted_7$9, [
10937
10936
  createElementVNode("img", {
10938
- src: $options.getFileIcon(file.name),
10937
+ src: $options.getFileIcon(file.name || file.fileName),
10939
10938
  alt: "",
10940
10939
  style: { "width": "18px", "height": "18px", "margin-right": "8px" }
10941
10940
  }, null, 8, _hoisted_8$6),
10942
10941
  createElementVNode("div", {
10943
10942
  class: "upload-file-name",
10944
- title: file.name
10945
- }, toDisplayString(file.name), 9, _hoisted_9$5)
10943
+ title: file.name || file.fileName
10944
+ }, toDisplayString(file.name || file.fileName), 9, _hoisted_9$5)
10946
10945
  ]),
10947
10946
  createElementVNode("div", _hoisted_10$4, [
10948
10947
  !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
@@ -11006,7 +11005,7 @@ function _sfc_render$R(_ctx, _cache, $props, $setup, $data, $options) {
11006
11005
  _: 1
11007
11006
  }, 8, ["designer", "field", "rules", "design-state", "parent-widget", "parent-list", "index-of-parent-list", "sub-form-row-index", "sub-form-col-index", "sub-form-row-id"]);
11008
11007
  }
11009
- var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-cbeda2f0"]]);
11008
+ var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["render", _sfc_render$R], ["__scopeId", "data-v-4518e42a"]]);
11010
11009
  var __glob_0_7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11011
11010
  __proto__: null,
11012
11011
  "default": fileUploadWidget
@@ -26187,13 +26186,13 @@ function registerIcon(app) {
26187
26186
  if (typeof window !== "undefined") {
26188
26187
  let loadSvg = function() {
26189
26188
  var body = document.body;
26190
- var svgDom = document.getElementById("__svg__icons__dom__1778316410801__");
26189
+ var svgDom = document.getElementById("__svg__icons__dom__1778464010762__");
26191
26190
  if (!svgDom) {
26192
26191
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
26193
26192
  svgDom.style.position = "absolute";
26194
26193
  svgDom.style.width = "0";
26195
26194
  svgDom.style.height = "0";
26196
- svgDom.id = "__svg__icons__dom__1778316410801__";
26195
+ svgDom.id = "__svg__icons__dom__1778464010762__";
26197
26196
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
26198
26197
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
26199
26198
  }
@@ -61876,7 +61875,7 @@ const _sfc_main$4 = {
61876
61875
  handleClose() {
61877
61876
  this.form = {
61878
61877
  assetCode: "",
61879
- assetType: "all",
61878
+ assetType: this.assetTypeValue || "all",
61880
61879
  assetOwnerUnit: "",
61881
61880
  labelName: ""
61882
61881
  };
@@ -62327,7 +62326,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
62327
62326
  _: 1
62328
62327
  }, 8, ["modelValue", "onClose"]);
62329
62328
  }
62330
- var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-6f20caea"]]);
62329
+ var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-f25f357a"]]);
62331
62330
  var index_vue_vue_type_style_index_0_lang$1 = "";
62332
62331
  const _sfc_main$3 = {
62333
62332
  name: "asset-select-widget",