chore: let the sql query input be empty

This commit is contained in:
rick 2025-03-04 08:33:34 +08:00
parent 1372e6d21d
commit b46114cb6f
No known key found for this signature in database
GPG Key ID: 260A80C757EC6783
1 changed files with 2 additions and 1 deletions

View File

@ -35,8 +35,9 @@ const queryTables = () => {
watch(kind, (k) => {
switch (k) {
case 'atest-store-orm':
sqlQuery.value = 'show tables'
sqlQuery.value = ''
queryTip.value = 'Enter SQL query'
executeQuery()
break;
case 'atest-store-etcd', 'atest-store-redis':
sqlQuery.value = ''