Commit b6f4b8a0 authored by 纪泽龙's avatar 纪泽龙

改变交卷格式

parent dd493de8
......@@ -169,7 +169,8 @@ export default {
// this.answerClear();
// this.$emit("update:visible", false);
this.saveBody();
const answers = JSON.stringify(this.answerArr.map((item) => item.answer));
const json = JSON.stringify(this.answerArr.map((item) => item.answer));
const answers = json.slice(1,json.length-1);
console.log(answers);
this.loading = true;
setAnswer({
......@@ -299,12 +300,16 @@ export default {
font-size: 14px;
text-align: center;
margin-right: 18px;
box-sizing: border-box;
cursor: pointer;
&.active {
background: #e9e9e9;
background: #afe8ab87;
border:none;
}
&.activered {
background: #ffffff;
background: #b9112633;
border:none;
}
&.now {
background: #a3d3ff;
......
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