update 文档拆分-编辑-编辑
This commit is contained in:
@@ -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
|
||||
}]
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user