Commit 1aebe32153c6d78dbee941b92526c7c9694bdba6
1 parent
edac8038
Exists in
master
and in
1 other branch
修复Scheme删除方法传值
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
packages/scheme/index.vue
| ... | ... | @@ -454,7 +454,7 @@ export default { |
| 454 | 454 | console.log('_$http delete'); |
| 455 | 455 | this.dialogLoading = true; |
| 456 | 456 | const postData = param; |
| 457 | - _$http.post(`${this.option.url.trim('/')}/${this.option.newMethod || 'delete'}`, postData) | |
| 457 | + _$http.post(`${this.option.url.trim('/')}/${this.option.deleteMethod || 'delete'}`, postData) | |
| 458 | 458 | .then(response => { |
| 459 | 459 | const { code } = response || {}; |
| 460 | 460 | if (`${code}` === '0') { | ... | ... |