Commit 1aebe32153c6d78dbee941b92526c7c9694bdba6

Authored by Aaron
1 parent edac8038
Exists in master and in 1 other branch legacy

修复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,7 +454,7 @@ export default {
454 console.log('_$http delete'); 454 console.log('_$http delete');
455 this.dialogLoading = true; 455 this.dialogLoading = true;
456 const postData = param; 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 .then(response => { 458 .then(response => {
459 const { code } = response || {}; 459 const { code } = response || {};
460 if (`${code}` === '0') { 460 if (`${code}` === '0') {