|
@@ -85,6 +85,7 @@ function initUpdate()
|
|
|
var url = $('#editor_applet_pic').val();
|
|
|
var appid = $('#editor_applet_id').val();
|
|
|
var path = $('#editor_applet_path').val();
|
|
|
+ var link = $('#editor_applet_link').val();
|
|
|
if (!appid) {
|
|
|
//alert('请选择小程序');
|
|
|
//return;
|
|
@@ -100,7 +101,7 @@ function initUpdate()
|
|
|
|
|
|
|
|
|
var w = 750/2;
|
|
|
- KindEditor.insertHtml('#' + value, '<img src="'+url+'" style="width:'+w+'px;" data-applet="'+url+'||'+appid+'||'+path+'"/>');
|
|
|
+ KindEditor.insertHtml('#' + value, '<img src="'+url+'" style="width:'+w+'px;" data-applet="'+url+'||'+appid+'||'+path+'||'+link+'"/>');
|
|
|
layer.closeAll();
|
|
|
};
|
|
|
showAlert(t, func, title);
|