Commit 84b0a149 authored by 黄奎's avatar 黄奎

页面修改

parent 7aa337aa
...@@ -40,6 +40,14 @@ export function CreateQuestion(questionKey) { ...@@ -40,6 +40,14 @@ export function CreateQuestion(questionKey) {
case "single": case "single":
AnswerList = optionListConfig(); AnswerList = optionListConfig();
break; break;
//单选题数字
case "single-number":
var temp = optionListConfig();
temp.forEach((item, index) => {
item.Name = index + 1;
})
AnswerList = temp;
break;
//多选题 //多选题
case "multiple": case "multiple":
AnswerList = optionListConfig(); AnswerList = optionListConfig();
......
<!--简答题--> <!--简答题-->
<style> <style>
.shortAnswerQuestion{ .shortAnswerQuestion {
width:100%; width: 100%;
margin-bottom:20px; margin-bottom: 20px;
} }
</style> </style>
<template> <template>
<div class="shortAnswerQuestion"> <div class="shortAnswerQuestion">
<br/> <br />
答案
<br />
<UeEditor v-model="setOption.Answer" :config="config"></UeEditor> <UeEditor v-model="setOption.Answer" :config="config"></UeEditor>
</div> </div>
</template> </template>
......
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