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) {