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