@@ -304,7 +304,7 @@ export default {
orderDTOList:[
{
orderBy:this.groupingValue,
- orderType:this.sort[0].orderType
+ orderType:this.sort&&this.sort.length>0?this.sort[0].orderType : 0
}
],//排序
groupBy:this.groupingValue,//分组信息
@@ -296,7 +296,7 @@ export default {
orderDTOList: [
orderBy:this.group,
groupBy: this.group,//分组的值
@@ -283,7 +283,7 @@ export default {
@@ -410,7 +410,7 @@ export default {
orderBy: this.groupingValue,
- orderType: this.sort[0].orderType
+ orderType: this.sort&&this.sort.length>0?this.sort[0].orderType : 0
groupBy: this.groupingValue,//分组信息