From c3b1b9fffcc14782e03f45278d0b3f878068f868 Mon Sep 17 00:00:00 2001 From: Rui_Li <877258667@qq.com> Date: Wed, 25 Dec 2024 17:01:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=85=B7Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/tooling/manuf_tool.vue | 4 ++++ 1 file changed, 4 insertions(+) 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 })