Skip to content

Commit 05d9194

Browse files
committed
add missing part of iotdb
1 parent 6c2cb67 commit 05d9194

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

console/atest-ui/src/views/DataManager.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ import type { Pair } from './types'
66
import { ElMessage } from 'element-plus'
77
import { Codemirror } from 'vue-codemirror'
88
import HistoryInput from '../components/HistoryInput.vue'
9+
import type { Ref } from 'vue'
910
10-
const stores = ref([] as Store[])
11+
const stores: Ref<Store[]> = ref([])
1112
const kind = ref('')
1213
const store = ref('')
1314
const sqlQuery = ref('')
1415
const queryResult = ref([] as any[])
15-
const queryResultAsJSON = ref('')
16+
const queryResultAsJSON = ref('')
1617
const columns = ref([] as string[])
1718
const queryTip = ref('')
1819
const loadingStores = ref(true)
@@ -63,6 +64,7 @@ const queryTables = () => {
6364
watch(kind, (k) => {
6465
switch (k) {
6566
case 'atest-store-orm':
67+
case 'atest-store-iotdb':
6668
queryTip.value = 'Enter SQL query'
6769
executeQuery()
6870
break;
@@ -178,7 +180,7 @@ const executeQuery = async () => {
178180
<template>
179181
<div>
180182
<el-container style="height: calc(100vh - 50px);">
181-
<el-aside v-if="kind === 'atest-store-orm'">
183+
<el-aside v-if="kind === 'atest-store-orm' || kind === 'atest-store-iotdb'">
182184
<el-scrollbar>
183185
<el-select v-model="queryDataMeta.currentDatabase" placeholder="Select database"
184186
@change="queryTables" filterable>

0 commit comments

Comments
 (0)