From cdd03ecc7292781d263e8dabdd571fb20ee2967e Mon Sep 17 00:00:00 2001 From: maguoqiang <1098581467@qq.com> Date: Sat, 22 Feb 2020 11:44:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8A=A8=E6=80=81=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/case/typicalcase-add-or-update.vue | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/views/modules/case/typicalcase-add-or-update.vue b/src/views/modules/case/typicalcase-add-or-update.vue index 3bd56e33..33ac02de 100644 --- a/src/views/modules/case/typicalcase-add-or-update.vue +++ b/src/views/modules/case/typicalcase-add-or-update.vue @@ -30,7 +30,7 @@
-
{{"案例"+dataForm1.number}}
+
{{"案例"+(index+1)}}
- +
@@ -74,6 +74,7 @@ import 'quill/dist/quill.bubble.css' export default { created () { this.addItem() + this.addItem() }, components: { quillEditor @@ -179,9 +180,7 @@ export default { }, // 动态添加 addItem () { - let num = this.dataForm1.number - num = num + 1 - this.dataForm1.number = num + this.dataForm1.number++ this.dataForm1.dynamicItem.push({ number: this.dataForm1.number, ids: '',