修改定时任务编辑 put为post

This commit is contained in:
fengachen
2021-09-09 14:12:00 +08:00
parent 8b2959dd8a
commit 1087a705a1
+1 -3
View File
@@ -135,13 +135,11 @@
return false
}
let httpurl = ''
let method = ''
let method = 'post'
if(!this.model.id){
httpurl+=this.url.add
method = 'post'
}else{
httpurl+=this.url.edit
method = 'put'
}
let formData = Object.assign(this.model, values)
//时间格式化