文档服务地址:http://47.92.0.57:3000/ 周报索引地址:http://47.92.0.57:3000/s/NruNXRYmV

Commit 48165a65 by 李严凡

创建任务界面微调

parent 36eb73ed
......@@ -274,10 +274,10 @@
</el-tabs>
<el-form-item style="margin-top: 20px">
<el-row type="flex" class="row-bg" justify="end" >
<el-col offset="16" span="8">
<el-input v-model="taskName" @input="change($event)" placeholder="输入任务名称" style="width: 63%"></el-input>
<el-button type="primary" @click="submitForm(taskName)" style="width:35%">创建任务</el-button>
<el-row type="flex" class="row-bg" justify="center" >
<el-col offset="18" span="6" >
<el-input v-model="taskName" @input="change($event)" placeholder="输入任务名称" style="width: 49%"></el-input>
<el-button type="primary" @click="submitForm(taskName)" style="width:49%">创建任务</el-button>
</el-col>
</el-row>
</el-form-item>
......@@ -519,13 +519,13 @@
},
mounted(){
setTimeout(()=>{
if(this.$store.state.userInfo == null){
this.$message({
type:"warning",
message:"您未登录,请前往登录界面进行操作"
})
this.$router.push({path: '/'});
}
// if(this.$store.state.userInfo == null){
// this.$message({
// type:"warning",
// message:"您未登录,请前往登录界面进行操作"
// })
// this.$router.push({path: '/'});
// }
this.ins = this.$route.params.ins;
// console.log("1111212");
......
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