|
@@ -6,7 +6,7 @@ export class VOBase {
|
|
|
this.details = _.get(response, 'details');
|
|
|
this.total = _.get(response, 'total');
|
|
|
// 查询列表和只返回结果的区分,根据total决定
|
|
|
- if (this.total) {
|
|
|
+ if (this.total || this.total === 0) {
|
|
|
this.data = _.get(response, 'data');
|
|
|
} else {
|
|
|
this.data = response;
|