@haluo/biz 2.0.17 → 2.0.18
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 +2 -2
- package/dist/haluo-biz.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/haluo-biz.js
CHANGED
|
@@ -5090,7 +5090,7 @@ const _sfc_main = {
|
|
|
5090
5090
|
selectArticle(item) {
|
|
5091
5091
|
if (item.isVideo) {
|
|
5092
5092
|
const data = (item == null ? void 0 : item.mediaInfo[0]) || {};
|
|
5093
|
-
this.editor.insertVideo(data.link, { link: data.link, img: data.img });
|
|
5093
|
+
this.editor.insertVideo(data.link, { link: data.link, img: data.img, id: data.id });
|
|
5094
5094
|
this.visibleArticle = false;
|
|
5095
5095
|
this.updateData(true);
|
|
5096
5096
|
return;
|
|
@@ -6009,7 +6009,7 @@ const _sfc_main = {
|
|
|
6009
6009
|
return me2.setToast("URL\u65E0\u6548");
|
|
6010
6010
|
}
|
|
6011
6011
|
if (me2.linkContent.indexOf("jddmoto.com") === -1 && me2.linkContent.indexOf("58moto.com") === -1) {
|
|
6012
|
-
return me2.setToast("\u8BF7\u8F93\u5165\
|
|
6012
|
+
return me2.setToast("\u8BF7\u8F93\u5165\u6469\u6258\u8303\u5185\u90E8\u7F51\u5740");
|
|
6013
6013
|
}
|
|
6014
6014
|
me2.editor["insertLink"](me2.linkContent);
|
|
6015
6015
|
me2.linkContent = "";
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -5092,7 +5092,7 @@
|
|
|
5092
5092
|
selectArticle(item) {
|
|
5093
5093
|
if (item.isVideo) {
|
|
5094
5094
|
const data = (item == null ? void 0 : item.mediaInfo[0]) || {};
|
|
5095
|
-
this.editor.insertVideo(data.link, { link: data.link, img: data.img });
|
|
5095
|
+
this.editor.insertVideo(data.link, { link: data.link, img: data.img, id: data.id });
|
|
5096
5096
|
this.visibleArticle = false;
|
|
5097
5097
|
this.updateData(true);
|
|
5098
5098
|
return;
|
|
@@ -6011,7 +6011,7 @@
|
|
|
6011
6011
|
return me2.setToast("URL\u65E0\u6548");
|
|
6012
6012
|
}
|
|
6013
6013
|
if (me2.linkContent.indexOf("jddmoto.com") === -1 && me2.linkContent.indexOf("58moto.com") === -1) {
|
|
6014
|
-
return me2.setToast("\u8BF7\u8F93\u5165\
|
|
6014
|
+
return me2.setToast("\u8BF7\u8F93\u5165\u6469\u6258\u8303\u5185\u90E8\u7F51\u5740");
|
|
6015
6015
|
}
|
|
6016
6016
|
me2.editor["insertLink"](me2.linkContent);
|
|
6017
6017
|
me2.linkContent = "";
|