matrix_components 2.0.351 → 2.0.353

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.
@@ -76919,7 +76919,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76919
76919
  _tmp = _tmp[_tmp.length - 1];
76920
76920
  if (isNotNull(_tmp)) {
76921
76921
  if (_tmp.indexOf(".") !== -1) {
76922
- _url.value = getImageBaseUrl() + _tmp;
76922
+ _url.value = getImageBaseUrl() + nv;
76923
76923
  } else {
76924
76924
  const res = await getFilePathByIds(_tmp) || "";
76925
76925
  if ((res == null ? void 0 : res.length) && ((_b = res[0]) == null ? void 0 : _b.filePath)) {
@@ -76951,13 +76951,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76951
76951
  }
76952
76952
  return (_ctx, _cache) => {
76953
76953
  return openBlock(), createElementBlock(Fragment, null, [
76954
- createVNode(unref(ElImage), {
76954
+ createVNode(unref(ElImage), mergeProps({
76955
76955
  class: "preview-image-view",
76956
- fit: "fill",
76956
+ fit: "fill"
76957
+ }, _ctx.$attrs, {
76957
76958
  src: _url.value,
76958
76959
  "show-progress": "",
76959
76960
  onClick: showPreviewHander
76960
- }, {
76961
+ }), {
76961
76962
  error: withCtx(() => [
76962
76963
  renderSlot(_ctx.$slots, "default", {}, () => [
76963
76964
  createElementVNode("img", {
@@ -76969,7 +76970,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76969
76970
  ], true)
76970
76971
  ]),
76971
76972
  _: 3
76972
- }, 8, ["src"]),
76973
+ }, 16, ["src"]),
76973
76974
  (openBlock(), createBlock(Teleport, { to: "#app" }, [
76974
76975
  showPreview.value ? (openBlock(), createBlock(unref(ElImageViewer), {
76975
76976
  key: 0,
@@ -76990,7 +76991,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
76990
76991
  };
76991
76992
  }
76992
76993
  });
76993
- const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-639a6f70"]]);
76994
+ const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dbca2f62"]]);
76994
76995
  NsImage.install = (app2) => {
76995
76996
  app2.component(NsImage.name, NsImage);
76996
76997
  };