From 299b832c11d69ae46a9183a178e591d842a0512b Mon Sep 17 00:00:00 2001 From: wangchengming <15110151257@163.com> Date: Tue, 17 Jun 2025 01:46:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=96=87=E4=BB=B6=E6=8E=A5?= =?UTF-8?q?=E5=BC=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/datalink/files.vue | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/views/datalink/files.vue b/src/views/datalink/files.vue index 540366c..6808dab 100644 --- a/src/views/datalink/files.vue +++ b/src/views/datalink/files.vue @@ -46,19 +46,19 @@ -
+ - + @@ -138,7 +138,7 @@ export default { for (let key in res.result) { this.modeList.push({ id: key, value: key, children: res.result[key] }) } - console.log('sfaf', this.modeList) + if (this.modeList.length > 0) handleTypeChange(this.modeList[0].id) } }) }, @@ -152,6 +152,9 @@ export default { for (let key in tableArr.children) { this.tableNameList.push({ id: tableArr.children[key], value: tableArr.children[key] }) } + if (this.tableNameList.length > 0) { + this.queryParam.tableName = this.tableNameList[0].id + } }, onChangeTime(date, dateString) { if (date.length == 0) {