|
|
|
@ -868,6 +868,10 @@ export default { |
|
|
|
if (data.code == 200) { |
|
|
|
this.dataList = data.rows; |
|
|
|
this.totalPage = data.total; |
|
|
|
//判断是否存在 |
|
|
|
if(this.dataList && this.dataList.length > 0){ |
|
|
|
this.$refs.mainTable.setCurrentRow(this.dataList[0]); |
|
|
|
} |
|
|
|
} |
|
|
|
this.dataListLoading = false |
|
|
|
}) |
|
|
|
|