Commit 27cc2c15e51308a29bc4ac5e4dc03f0096cfdb98
1 parent
c42680bf
优化代码
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/fee/doImportCreateFee.vue
| @@ -74,7 +74,7 @@ export default { | @@ -74,7 +74,7 @@ export default { | ||
| 74 | formData.append('importAdapt', 'importCustomFee') | 74 | formData.append('importAdapt', 'importCustomFee') |
| 75 | 75 | ||
| 76 | importData(formData).then(response => { | 76 | importData(formData).then(response => { |
| 77 | - const res = response.data | 77 | + const res = response |
| 78 | if (res.code === 0) { | 78 | if (res.code === 0) { |
| 79 | this.$message.success(this.$t('doImportCreateFee.successMessage')) | 79 | this.$message.success(this.$t('doImportCreateFee.successMessage')) |
| 80 | this.handleClose() | 80 | this.handleClose() |