mirror of
https://gitee.com/java110/MicroCommunityWeb.git
synced 2026-06-12 10:00:56 +08:00
优化 公告图片问题
This commit is contained in:
parent
c5ff771ec8
commit
46a74633ca
@ -266,7 +266,8 @@
|
|||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
var data = JSON.parse(json);
|
var data = JSON.parse(json);
|
||||||
//关闭model
|
//关闭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;
|
return;
|
||||||
}
|
}
|
||||||
vc.toast(json);
|
vc.toast(json);
|
||||||
|
|||||||
@ -213,8 +213,10 @@
|
|||||||
if (res.status == 200) {
|
if (res.status == 200) {
|
||||||
var data = JSON.parse(json);
|
var data = JSON.parse(json);
|
||||||
//关闭model
|
//关闭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);
|
||||||
return;
|
$summernote.summernote('insertImage', data.url);
|
||||||
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
vc.toast(json);
|
vc.toast(json);
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user