|
@@ -43,6 +43,7 @@
|
|
|
<div
|
|
|
class="choice_c"
|
|
|
v-if="cJson.type == 2"
|
|
|
+ @click.stop="updateLabel(index)"
|
|
|
>
|
|
|
<el-checkbox
|
|
|
class="choiceInput"
|
|
@@ -53,7 +54,7 @@
|
|
|
><span
|
|
|
v-if="!updateList.answer || updateList.answerIndex != index"
|
|
|
:class="{ right: cJson.answer.indexOf(index) != -1 }"
|
|
|
- @click.stop="updateLabel(index)"
|
|
|
+
|
|
|
>{{ item.option ? item.option : "空选项" }}</span
|
|
|
>
|
|
|
<input
|
|
@@ -69,12 +70,14 @@
|
|
|
<span
|
|
|
@click.stop="deleteChoice(index)"
|
|
|
class="deleteChoice"
|
|
|
+ v-if="cJson.array.length>2"
|
|
|
>×</span
|
|
|
>
|
|
|
</div>
|
|
|
<div
|
|
|
class="choice_c"
|
|
|
v-if="cJson.type == 1"
|
|
|
+ @click.stop="updateLabel(index)"
|
|
|
>
|
|
|
<el-radio
|
|
|
class="choiceInput"
|
|
@@ -85,7 +88,7 @@
|
|
|
><span
|
|
|
v-if="!updateList.answer || updateList.answerIndex != index"
|
|
|
:class="{ right: cJson.answer.indexOf(index) != -1 }"
|
|
|
- @click.stop="updateLabel(index)"
|
|
|
+
|
|
|
>{{ item.option ? item.option : "空选项" }}</span
|
|
|
>
|
|
|
<input
|
|
@@ -100,6 +103,7 @@
|
|
|
/>
|
|
|
<span
|
|
|
@click.stop="deleteChoice(index)"
|
|
|
+ v-if="cJson.array.length>2"
|
|
|
class="deleteChoice"
|
|
|
>×</span
|
|
|
>
|