大赛训练产品调整添加返回
This commit is contained in:
parent
976292fc4c
commit
5016a5b175
@ -17,8 +17,8 @@
|
||||
</el-tree>
|
||||
<div class="button-group">
|
||||
<el-button-group>
|
||||
<el-button size="small" type="primary">提交</el-button>
|
||||
<el-button size="small" type="danger">返回</el-button>
|
||||
<el-button size="small" type="primary" @click="submit">提交</el-button>
|
||||
<el-button size="small" type="danger" @click="goBack">返回</el-button>
|
||||
</el-button-group>
|
||||
</div>
|
||||
</el-col>
|
||||
@ -186,6 +186,12 @@ export default {
|
||||
nextTask() {
|
||||
this.nowKey++;
|
||||
this.nowData = this.taskList[this.nowKey];
|
||||
},
|
||||
goBack() {
|
||||
this.$router.push('/contest/list');
|
||||
},
|
||||
submit() {
|
||||
this.$router.push('/contest/list');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user