Skip to content

Commit

Permalink
fix: 修复子表单删除数据清空时数据刷新bug @0.9.2-7
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Mar 25, 2021
1 parent b89df0b commit 72d238e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export default class GenerateSubForm extends Vue {
searchCondition,
})
.then((res) => {
if (res.data.list.length > 0) {
if (res.data.list) {
this.subTableForm.tableData = res.data.list.map(item => ({
...item,
_mode: 'DETAIL',
Expand Down

0 comments on commit 72d238e

Please sign in to comment.