diff --git a/admin/src/views/qa/qa.vue b/admin/src/views/qa/qa.vue index 9b3d125a..a60b0c4d 100644 --- a/admin/src/views/qa/qa.vue +++ b/admin/src/views/qa/qa.vue @@ -263,8 +263,8 @@ export default { this.dialogCreate = true }, onEdit(item) { - if(!item.qaQuestions){ - this.anchors = { + if(!item.qaQuestions.length){ + this.anchors = { ...item, qaQuestions:[{ sort:1,