文档拆分--查看--图片上传

This commit is contained in:
范强强
2024-03-10 13:18:09 +08:00
parent 46bcf687a3
commit a4464e58c3
5 changed files with 34 additions and 14 deletions
@@ -197,6 +197,9 @@ export default {
if (res.success) {
this.contentList = [...res.result]
this.contentList.forEach(item => {
if (item.type === this.TypeOfClauseItem.TABLE.value) {
item.itemContent = window.getHtml(item.itemContent)
}
const imgData = item.itemContent.split('fileName=')[1]
item.thumbUrl = window._CONFIG.domianURL + '/sys/split/file/getImage?fileName=' + imgData
})