mixin/mixin.js
@@ -278,6 +278,10 @@ } }) if (data) { if (data && Array.isArray(data)) { this.list = data || [] this.page.total = data.length || 0 } else { if (this.page.current === 1) { this.list = data.records || [] } else { @@ -294,6 +298,8 @@ } this.page.total = data.total || 0 } if (this.getList_after) { this.getList_after() }