update 文档拆分-编辑-编辑

This commit is contained in:
赵霄
2023-10-18 13:54:19 +08:00
parent 1200559d68
commit 198b3583e6
@@ -654,11 +654,15 @@ export default {
initInterpretationArticlesList () { initInterpretationArticlesList () {
getInterpretationArticlesList({ id: this.itemVal.id }).then(res => { getInterpretationArticlesList({ id: this.itemVal.id }).then(res => {
if (res.success) { if (res.success) {
this.interpretationArticlesList = res.result || [{ if (res.result && res.result.length > 0) {
this.interpretationArticlesList = res.result
} else {
this.interpretationArticlesList = [{
itemContent: null, itemContent: null,
displaySeq: 1 displaySeq: 1
}] }]
} }
}
}) })
} }
} }