@haluo/biz 2.0.35 → 2.0.37
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.
- package/dist/haluo-biz.js +7 -4
- package/dist/haluo-biz.umd.cjs +7 -4
- package/package.json +1 -1
package/dist/haluo-biz.js
CHANGED
|
@@ -3982,7 +3982,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3982
3982
|
cityName: "",
|
|
3983
3983
|
onSale: 1,
|
|
3984
3984
|
page: 1,
|
|
3985
|
-
rows:
|
|
3985
|
+
rows: 9999,
|
|
3986
3986
|
brandEnergyType: 3,
|
|
3987
3987
|
goodMinPrice: "",
|
|
3988
3988
|
goodMaxPrice: "",
|
|
@@ -4985,7 +4985,7 @@ const _sfc_main = {
|
|
|
4985
4985
|
this.initData();
|
|
4986
4986
|
},
|
|
4987
4987
|
async parseHtml(html, essayPicRelVOList) {
|
|
4988
|
-
var _a;
|
|
4988
|
+
var _a, _b;
|
|
4989
4989
|
const div = document.createElement("div");
|
|
4990
4990
|
div.innerHTML = html;
|
|
4991
4991
|
const frag = document.createDocumentFragment();
|
|
@@ -5011,9 +5011,12 @@ const _sfc_main = {
|
|
|
5011
5011
|
if (essayPicRelVOList) {
|
|
5012
5012
|
const arr = img.src.split("/");
|
|
5013
5013
|
const id = arr[arr.length - 1];
|
|
5014
|
-
|
|
5014
|
+
let url = (_b = essayPicRelVOList.find(
|
|
5015
5015
|
(obj) => obj.id === String(id)
|
|
5016
|
-
).url;
|
|
5016
|
+
)) == null ? void 0 : _b.url;
|
|
5017
|
+
if (url) {
|
|
5018
|
+
img.src = url;
|
|
5019
|
+
}
|
|
5017
5020
|
}
|
|
5018
5021
|
this.insertImgOperateBtns(
|
|
5019
5022
|
this.editor,
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -3984,7 +3984,7 @@
|
|
|
3984
3984
|
cityName: "",
|
|
3985
3985
|
onSale: 1,
|
|
3986
3986
|
page: 1,
|
|
3987
|
-
rows:
|
|
3987
|
+
rows: 9999,
|
|
3988
3988
|
brandEnergyType: 3,
|
|
3989
3989
|
goodMinPrice: "",
|
|
3990
3990
|
goodMaxPrice: "",
|
|
@@ -4987,7 +4987,7 @@
|
|
|
4987
4987
|
this.initData();
|
|
4988
4988
|
},
|
|
4989
4989
|
async parseHtml(html, essayPicRelVOList) {
|
|
4990
|
-
var _a;
|
|
4990
|
+
var _a, _b;
|
|
4991
4991
|
const div = document.createElement("div");
|
|
4992
4992
|
div.innerHTML = html;
|
|
4993
4993
|
const frag = document.createDocumentFragment();
|
|
@@ -5013,9 +5013,12 @@
|
|
|
5013
5013
|
if (essayPicRelVOList) {
|
|
5014
5014
|
const arr = img.src.split("/");
|
|
5015
5015
|
const id = arr[arr.length - 1];
|
|
5016
|
-
|
|
5016
|
+
let url = (_b = essayPicRelVOList.find(
|
|
5017
5017
|
(obj) => obj.id === String(id)
|
|
5018
|
-
).url;
|
|
5018
|
+
)) == null ? void 0 : _b.url;
|
|
5019
|
+
if (url) {
|
|
5020
|
+
img.src = url;
|
|
5021
|
+
}
|
|
5019
5022
|
}
|
|
5020
5023
|
this.insertImgOperateBtns(
|
|
5021
5024
|
this.editor,
|