matrix_components 2.0.332 → 2.0.333
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.
|
@@ -76890,10 +76890,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76890
76890
|
async ([new1, new2]) => {
|
|
76891
76891
|
var _a3, _b;
|
|
76892
76892
|
const nv = new1 || new2;
|
|
76893
|
-
debugger;
|
|
76894
|
-
console.log("----1----", nv);
|
|
76895
76893
|
if (nv) {
|
|
76896
|
-
console.log("----21----", getBaseUrl());
|
|
76897
76894
|
if (nv.startsWith(getBaseUrl())) {
|
|
76898
76895
|
let _tmp = nv.split("/");
|
|
76899
76896
|
_tmp = _tmp[_tmp.length - 1];
|
|
@@ -76902,7 +76899,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76902
76899
|
_url.value = nv;
|
|
76903
76900
|
} else {
|
|
76904
76901
|
const res = await getFilePathByIds(_tmp) || "";
|
|
76905
|
-
console.log("----3----", res);
|
|
76906
76902
|
if ((res == null ? void 0 : res.length) && ((_a3 = res[0]) == null ? void 0 : _a3.filePath)) {
|
|
76907
76903
|
const path = res[0].filePath;
|
|
76908
76904
|
_url.value = path.startsWith(getBaseUrl()) ? path : getBaseUrl() + path;
|
|
@@ -76913,27 +76909,22 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76913
76909
|
}
|
|
76914
76910
|
} else if (nv.startsWith("/martrix/")) {
|
|
76915
76911
|
_url.value = nv;
|
|
76916
|
-
console.log("----22----", nv);
|
|
76917
76912
|
} else {
|
|
76918
76913
|
if (isNotNull(nv)) {
|
|
76919
|
-
console.log("----23----", nv);
|
|
76920
76914
|
if (nv.indexOf(".") !== -1) {
|
|
76921
76915
|
_url.value = getBaseUrl() + nv;
|
|
76922
76916
|
} else {
|
|
76923
76917
|
const res = await getFilePathByIds(nv) || "";
|
|
76924
|
-
console.log("----4----", res);
|
|
76925
76918
|
if ((res == null ? void 0 : res.length) && ((_b = res[0]) == null ? void 0 : _b.filePath)) {
|
|
76926
76919
|
const path = res[0].filePath;
|
|
76927
76920
|
_url.value = path.startsWith(getBaseUrl()) ? path : getBaseUrl() + path;
|
|
76928
76921
|
}
|
|
76929
76922
|
}
|
|
76930
76923
|
} else {
|
|
76931
|
-
console.log("----25----", nv);
|
|
76932
76924
|
_url.value = "";
|
|
76933
76925
|
}
|
|
76934
76926
|
}
|
|
76935
76927
|
} else {
|
|
76936
|
-
console.log("----12----", nv);
|
|
76937
76928
|
_url.value = "";
|
|
76938
76929
|
}
|
|
76939
76930
|
},
|
|
@@ -76995,7 +76986,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
76995
76986
|
};
|
|
76996
76987
|
}
|
|
76997
76988
|
});
|
|
76998
|
-
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
76989
|
+
const NsImage = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3a001bb1"]]);
|
|
76999
76990
|
NsImage.install = (app2) => {
|
|
77000
76991
|
app2.component(NsImage.name, NsImage);
|
|
77001
76992
|
};
|