matrix_components 2.0.334 → 2.0.335

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.
@@ -76916,22 +76916,24 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76916
76916
  console.log("***2-2***", nv);
76917
76917
  _url.value = nv;
76918
76918
  } else {
76919
- console.log("***2-3***", nv);
76920
- if (isNotNull(nv)) {
76921
- console.log("***3-2***", nv);
76922
- if (nv.indexOf(".") !== -1) {
76923
- console.log("***4-1***", nv);
76924
- _url.value = getBaseUrl() + nv;
76919
+ let _tmp = nv.split("/");
76920
+ _tmp = _tmp[_tmp.length - 1];
76921
+ console.log("***2-3***", _tmp);
76922
+ if (isNotNull(_tmp)) {
76923
+ console.log("***3-2***", _tmp);
76924
+ if (_tmp.indexOf(".") !== -1) {
76925
+ console.log("***4-1***", _tmp);
76926
+ _url.value = getBaseUrl() + _tmp;
76925
76927
  } else {
76926
- console.log("***4-2***", nv);
76927
- const res = await getFilePathByIds(nv) || "";
76928
+ console.log("***4-2***", _tmp);
76929
+ const res = await getFilePathByIds(_tmp) || "";
76928
76930
  if ((res == null ? void 0 : res.length) && ((_b = res[0]) == null ? void 0 : _b.filePath)) {
76929
76931
  const path = res[0].filePath;
76930
76932
  _url.value = path.startsWith(getBaseUrl()) ? path : getBaseUrl() + path;
76931
76933
  }
76932
76934
  }
76933
76935
  } else {
76934
- console.log("***3-3***", nv);
76936
+ console.log("***3-3***", _tmp);
76935
76937
  _url.value = "";
76936
76938
  }
76937
76939
  }
@@ -76998,7 +77000,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76998
77000
  };
76999
77001
  }
77000
77002
  });
77001
- const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e86e1cf6"]]);
77003
+ const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c43f7e38"]]);
77002
77004
  NsImage.install = (app2) => {
77003
77005
  app2.component(NsImage.name, NsImage);
77004
77006
  };