mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-02-25 14:17:54 +08:00
优化 公告图片问题
This commit is contained in:
parent
c5ff771ec8
commit
46a74633ca
@ -266,7 +266,8 @@
|
||||
if (res.status == 200) {
|
||||
var data = JSON.parse(json);
|
||||
//关闭model
|
||||
$summernote.summernote('insertImage', "/callComponent/download/getFile/file?fileId=" + data.fileId + "&communityId=" + vc.getCurrentCommunity().communityId);
|
||||
//$summernote.summernote('insertImage', "/callComponent/download/getFile/file?fileId=" + data.fileId + "&communityId=" + vc.getCurrentCommunity().communityId);
|
||||
$summernote.summernote('insertImage', data.url);
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
|
||||
@ -213,8 +213,10 @@
|
||||
if (res.status == 200) {
|
||||
var data = JSON.parse(json);
|
||||
//关闭model
|
||||
$summernote.summernote('insertImage', "/callComponent/download/getFile/file?fileId=" + data.fileId + "&communityId=" + vc.getCurrentCommunity().communityId);
|
||||
return;
|
||||
// $summernote.summernote('insertImage', "/callComponent/download/getFile/file?fileId=" + data.fileId + "&communityId=" + vc.getCurrentCommunity().communityId);
|
||||
$summernote.summernote('insertImage', data.url);
|
||||
|
||||
return;
|
||||
}
|
||||
vc.toast(json);
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user