super-page-designer 2.0.58 → 2.0.59

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.
@@ -366,11 +366,14 @@ function getOrgTreeSet(item) {
366
366
  function getFileSet(item) {
367
367
  if (item.name === "file-upload") {
368
368
  const prop = getNameFromProp(item.props.base.prop);
369
- const propName = getNameFromProp(item.props.base.propName);
370
- const fileSet = {
371
- showNameData: { name: prop, dbName: prop.toUpperCase() },
372
- serverNameData: { name: propName, dbName: propName.toUpperCase() }
373
- };
369
+ const propName = getNameFromProp(item.props.format ? item.props.format.fileUuid : null);
370
+ let fileSet = {};
371
+ if (prop) {
372
+ fileSet.showNameData = { name: prop, dbName: prop.toUpperCase() };
373
+ }
374
+ if (propName) {
375
+ fileSet.serverNameData = { name: propName, dbName: propName.toUpperCase() };
376
+ }
374
377
  return JSON.stringify(fileSet);
375
378
  }
376
379
  return null;
@@ -1,5 +1,5 @@
1
- import _sfc_main from "./common-variable-bind.vue2.js";
2
- import "./common-variable-bind.vue3.js";
1
+ import _sfc_main from "./common-variable-bind.vue3.js";
2
+ import "./common-variable-bind.vue2.js";
3
3
  import _export_sfc from "../../../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const BindVariable = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-48d27f9e"]]);
5
5
  export {