From 725cc63d39805fe94eec6a370a1adddc6553c0fe Mon Sep 17 00:00:00 2001 From: maziyang Date: Sat, 21 Jun 2025 10:24:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=95=E7=A5=A8=E9=80=89=E9=A1=B9=E9=A1=BA?= =?UTF-8?q?=E5=BA=8F=E5=AD=97=E6=AE=B5=E5=90=8D=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Article/Article.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/Article/Article.vue b/src/views/Article/Article.vue index 4ebe7d6..fb6a5aa 100644 --- a/src/views/Article/Article.vue +++ b/src/views/Article/Article.vue @@ -61,8 +61,8 @@ const handleVoteToggle = (value) => { optionIndex.value = 3 form.voteTitle = ''; form.optionList = [ - { index: 1, optionContent: '' }, - { index: 2, optionContent: '' } + { optionIndex: 1, optionContent: '' }, + { optionIndex: 2, optionContent: '' } ]; form.deadlineTime = ''; } else { @@ -77,7 +77,7 @@ const addOption = () => { }); return } - form.optionList.push({ index: optionIndex.value++, optionContent: '' }); + form.optionList.push({ optionIndex: optionIndex.value++, optionContent: '' }); }; // 移除选项 const removeOption = (index) => {