From d6eb27186fe8e8a06b2f670e22891a01b0d097ed Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Thu, 6 Mar 2025 11:35:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BA=97=E9=93=BA=E8=A3=85=E4=BF=AE?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E5=90=8Etab=E8=A2=AB=E9=87=8D=E7=BD=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/online-shop/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/online-shop/index.vue b/src/views/online-shop/index.vue index 0ad0594..f909fd9 100644 --- a/src/views/online-shop/index.vue +++ b/src/views/online-shop/index.vue @@ -270,7 +270,7 @@ export default { try { let res = await shopExtendApi.get({}); this.tableData = res; - this.tableActive = res[0].autoKey; + this.tableActive = !this.tableActive ? res[0].autoKey : this.tableActive; this.selectItemChange(this.tableActive); } catch (error) { console.log(error);