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.
@@ -12620,7 +12620,6 @@ function _sfc_render$3c(_ctx, _cache, $props, $setup, $data, $options) {
12620
12620
  "sub-form-row-id": $props.subFormRowId
12621
12621
  }, {
12622
12622
  default: withCtx(() => [
12623
- createTextVNode(toDisplayString($data.fieldModel) + " ", 1),
12624
12623
  createElementVNode("div", _hoisted_1$G, [
12625
12624
  _ctx.getDisabled() && $data.fileList.length === 0 ? (openBlock(), createElementBlock("div", _hoisted_2$p, " \u6682\u65E0\u6570\u636E ")) : createCommentVNode("", true),
12626
12625
  createVNode(_component_el_upload, {
@@ -12650,14 +12649,14 @@ function _sfc_render$3c(_ctx, _cache, $props, $setup, $data, $options) {
12650
12649
  createElementVNode("div", _hoisted_6$e, [
12651
12650
  createElementVNode("div", _hoisted_7$b, [
12652
12651
  createElementVNode("img", {
12653
- src: $options.getFileIcon(file.name),
12652
+ src: $options.getFileIcon(file.name || file.fileName),
12654
12653
  alt: "",
12655
12654
  style: { "width": "18px", "height": "18px", "margin-right": "8px" }
12656
12655
  }, null, 8, _hoisted_8$8),
12657
12656
  createElementVNode("div", {
12658
12657
  class: "upload-file-name",
12659
- title: file.name
12660
- }, toDisplayString(file.name), 9, _hoisted_9$7)
12658
+ title: file.name || file.fileName
12659
+ }, toDisplayString(file.name || file.fileName), 9, _hoisted_9$7)
12661
12660
  ]),
12662
12661
  createElementVNode("div", _hoisted_10$6, [
12663
12662
  !_ctx.getDisabled() ? (openBlock(), createElementBlock("div", {
@@ -12721,7 +12720,7 @@ function _sfc_render$3c(_ctx, _cache, $props, $setup, $data, $options) {
12721
12720
  _: 1
12722
12721
  }, 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"]);
12723
12722
  }
12724
- var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3c, [["render", _sfc_render$3c], ["__scopeId", "data-v-cbeda2f0"]]);
12723
+ var fileUploadWidget = /* @__PURE__ */ _export_sfc$1(_sfc_main$3c, [["render", _sfc_render$3c], ["__scopeId", "data-v-4518e42a"]]);
12725
12724
  var __glob_0_7$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12726
12725
  __proto__: null,
12727
12726
  "default": fileUploadWidget
@@ -68453,13 +68452,13 @@ function registerIcon(app) {
68453
68452
  if (typeof window !== "undefined") {
68454
68453
  let loadSvg = function() {
68455
68454
  var body = document.body;
68456
- var svgDom = document.getElementById("__svg__icons__dom__1778316402927__");
68455
+ var svgDom = document.getElementById("__svg__icons__dom__1778464000377__");
68457
68456
  if (!svgDom) {
68458
68457
  svgDom = document.createElementNS("http://www.w3.org/2000/svg", "svg");
68459
68458
  svgDom.style.position = "absolute";
68460
68459
  svgDom.style.width = "0";
68461
68460
  svgDom.style.height = "0";
68462
- svgDom.id = "__svg__icons__dom__1778316402927__";
68461
+ svgDom.id = "__svg__icons__dom__1778464000377__";
68463
68462
  svgDom.setAttribute("xmlns", "http://www.w3.org/2000/svg");
68464
68463
  svgDom.setAttribute("xmlns:link", "http://www.w3.org/1999/xlink");
68465
68464
  }
@@ -78595,7 +78594,7 @@ const _sfc_main$4 = {
78595
78594
  handleClose() {
78596
78595
  this.form = {
78597
78596
  assetCode: "",
78598
- assetType: "all",
78597
+ assetType: this.assetTypeValue || "all",
78599
78598
  assetOwnerUnit: "",
78600
78599
  labelName: ""
78601
78600
  };
@@ -79046,7 +79045,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
79046
79045
  _: 1
79047
79046
  }, 8, ["modelValue", "onClose"]);
79048
79047
  }
79049
- var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-6f20caea"]]);
79048
+ var AssetDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_render$4], ["__scopeId", "data-v-f25f357a"]]);
79050
79049
  var index_vue_vue_type_style_index_0_lang$1 = "";
79051
79050
  const _sfc_main$3 = {
79052
79051
  name: "asset-select-widget",