Commit 2b59d522 authored by 纪泽龙's avatar 纪泽龙

Merge branch 'jzl'

parents 3b3e1976 b8d06cbb
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</div> </div>
</el-form-item> </el-form-item>
<el-form-item <!-- <el-form-item
class="noAttr" class="noAttr"
:label="`选项${form.questions.length + 1}`" :label="`选项${form.questions.length + 1}`"
prop="" prop=""
...@@ -99,17 +99,16 @@ ...@@ -99,17 +99,16 @@
:class="{ active: answerNum === form.questions.length }" :class="{ active: answerNum === form.questions.length }"
> >
设为正确答案 设为正确答案
</div> </div> -->
<div style="padding-left:30px">
<el-button <el-button size="mini" type="primary" @click.prevent="add(addValue)"
size="mini" >新增选项</el-button
type="primary"
@click.prevent="add(addValue)"
>新增</el-button
> >
</div> </div>
<!-- </div>
</div> </div>
</el-form-item> </el-form-item> -->
</div> </div>
</el-form> </el-form>
</div> </div>
...@@ -143,7 +142,7 @@ export default { ...@@ -143,7 +142,7 @@ export default {
return { return {
form: { form: {
topicTitle: "", topicTitle: "",
questions: [{ value: "" }, { value: "" }, { value: "" }], questions: [{ value: "" }, { value: "" }],
}, },
answerNum: null, answerNum: null,
addValue: "", addValue: "",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment