Commit cd791c4a by 李伟康

```

fix(ysprepaymentManage): 修复在线对账统计数据显示问题

当接口返回空值时,将summaries初始化为空对象,
避免页面渲染时出现undefined错误
```
1 parent afea954e
...@@ -380,7 +380,7 @@ export default { ...@@ -380,7 +380,7 @@ export default {
}, },
async onlineStatementAccountCountTotal () { async onlineStatementAccountCountTotal () {
const data = await onlineStatementAccountCountTotal(this.searchFormSearch) const data = await onlineStatementAccountCountTotal(this.searchFormSearch)
this.summaries = data this.summaries = data || {}
}, },
getSummaries (param) { getSummaries (param) {
const { columns } = param, const { columns } = param,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!