update 文档拆分-编辑-编辑

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