File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 44 <el-card >
55 <div slot =" header" class =" clearfix" ><i class =" el-icon-edit-outline" /> Name</div >
66 <el-input v-model =" title" placeholder =" Input problem title here" ></el-input >
7+ <el-checkbox v-model =" enabled" label =" Enabled" class =" item" ></el-checkbox >
78 </el-card >
89 <el-card class =" item" >
910 <i class =" el-icon-menu" /> Limitation
@@ -53,7 +54,8 @@ export default {
5354 contentLoading: true ,
5455 buttonLoading: false ,
5556 time: ' Unknown' ,
56- memery: ' Unknown'
57+ memery: ' Unknown' ,
58+ enabled: true
5759 };
5860 },
5961 methods: {
@@ -66,6 +68,7 @@ export default {
6668 this .mdContent = data .description ;
6769 this .memery = data .memory_limit / 1000 ;
6870 this .time = data .time_limit ;
71+ this .enabled = data .enabled ;
6972 this .contentLoading = false ;
7073 })
7174 .catch (err => {
@@ -83,7 +86,8 @@ export default {
8386 title: this .title ,
8487 description: this .mdContent ,
8588 memory_limit: this .memery * 1000 ,
86- time_limit: this .time
89+ time_limit: this .time ,
90+ enabled: this .enabled
8791 })
8892 .then (() => {
8993 this .$SegmentMessage .success (this , ' Your change has been submited' );
You can’t perform that action at this time.
0 commit comments