修改定时任务编辑 put为post
This commit is contained in:
@@ -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)
|
||||
//时间格式化
|
||||
|
||||
Reference in New Issue
Block a user