From 511712a8c25db33008d36f6b94ed34c57d3cae0e Mon Sep 17 00:00:00 2001 From: licp <lichunping@guanfang.com.cn> Date: 星期二, 14 五月 2024 14:15:24 +0800 Subject: [PATCH] 优化首页 --- src/components/do/b1-ins-order/add.vue | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/src/components/do/b1-ins-order/add.vue b/src/components/do/b1-ins-order/add.vue index 8967cea..75adee2 100644 --- a/src/components/do/b1-ins-order/add.vue +++ b/src/components/do/b1-ins-order/add.vue @@ -667,6 +667,10 @@ this.addObj.sampleNum = this.sampleList.length this.$nextTick(() => { this.$refs.sampleTable.doLayout() + if(this.addObj.sampleNum>0){ + this.$refs.sampleTable.setCurrentRow(this.sampleList[0],true) + this.rowClick(this.sampleList[0]) + } }) }) } -- Gitblit v1.9.3