修改新增传参

pull/2/head
张腾 2024-08-25 19:01:53 +08:00
parent fca3f025ad
commit bbe6e492f3
1 changed files with 1 additions and 2 deletions

View File

@ -111,7 +111,6 @@ export default {
formLabelAlign:{}, formLabelAlign:{},
labelPosition: 'right', labelPosition: 'right',
tableData:[], tableData:[],
task:{},
dialogVisible: false dialogVisible: false
}; };
}, },
@ -126,7 +125,7 @@ export default {
}, },
doAdd(){ doAdd(){
this.dialogVisible = false this.dialogVisible = false
addTask(this.task).then(res =>{ addTask(this.formLabelAlign).then(res =>{
if (res.code == 200){ if (res.code == 200){
this.$message.success("添加任务成功") this.$message.success("添加任务成功")
location.reload() location.reload()