From 00df775a27f3719f02492efca5793c5d3dfed50e Mon Sep 17 00:00:00 2001 From: 15820893422 <1978476055@qq.com> Date: Fri, 28 Jun 2024 17:35:16 +0800 Subject: [PATCH] 1 --- admin/src/views/qa/qa.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,