diff --git a/src/views/modules/tooling/manuf_tool.vue b/src/views/modules/tooling/manuf_tool.vue index 0866445..fce43e9 100644 --- a/src/views/modules/tooling/manuf_tool.vue +++ b/src/views/modules/tooling/manuf_tool.vue @@ -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 })