Commit 048b90a969db55aabf57d61ef9edc80d91bb6489
1 parent
99ac3557
v1.9 优化支付没法设置费用项bug
Showing
2 changed files
with
4 additions
and
4 deletions
src/components/system/addPaymentPool.vue
| @@ -150,8 +150,8 @@ export default { | @@ -150,8 +150,8 @@ export default { | ||
| 150 | isDefault: 'F', | 150 | isDefault: 'F', |
| 151 | communityId: this.formData.communityId | 151 | communityId: this.formData.communityId |
| 152 | } | 152 | } |
| 153 | - const { data } = await listFeeConfigs(params) | ||
| 154 | - this.feeConfigs = data | 153 | + const { feeConfigs } = await listFeeConfigs(params) |
| 154 | + this.feeConfigs = feeConfigs | ||
| 155 | } catch (error) { | 155 | } catch (error) { |
| 156 | console.error('获取费用配置失败:', error) | 156 | console.error('获取费用配置失败:', error) |
| 157 | } | 157 | } |
src/components/system/editPaymentPool.vue
| @@ -154,8 +154,8 @@ export default { | @@ -154,8 +154,8 @@ export default { | ||
| 154 | isDefault: 'F', | 154 | isDefault: 'F', |
| 155 | communityId: this.formData.communityId | 155 | communityId: this.formData.communityId |
| 156 | } | 156 | } |
| 157 | - const { data } = await listFeeConfigs(params) | ||
| 158 | - this.feeConfigs = data | 157 | + const { feeConfigs } = await listFeeConfigs(params) |
| 158 | + this.feeConfigs = feeConfigs | ||
| 159 | } catch (error) { | 159 | } catch (error) { |
| 160 | console.error('获取费用配置失败:', error) | 160 | console.error('获取费用配置失败:', error) |
| 161 | } | 161 | } |