From e984f698b2d8f44394b1a07dc04b5472e16eceb9 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Sat, 9 May 2026 17:54:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BC=98=E5=8C=96=E8=A1=A8=E6=A0=BC?= =?UTF-8?q?=E4=B8=8E=20SQL=20=E6=96=87=E4=BB=B6=E5=BC=B9=E7=AA=97=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/grid/DataGrid.vue | 16 +++++++------- .../sql-file/SqlFileExecutionDialog.vue | 22 ++++++++++--------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/src/components/grid/DataGrid.vue b/src/components/grid/DataGrid.vue index 8dc46e0c3d..9c0ff466cd 100644 --- a/src/components/grid/DataGrid.vue +++ b/src/components/grid/DataGrid.vue @@ -1834,8 +1834,8 @@ defineExpose({ autocapitalize="off" autocorrect="off" spellcheck="false" - class="flex-1 h-5 min-w-0 text-xs bg-transparent outline-none placeholder:text-muted-foreground" - placeholder="id > 100" + class="flex-1 h-5 min-w-0 text-xs bg-transparent outline-none placeholder:text-muted-foreground/60" + placeholder="condition..." @keydown="onWhereFilterKeydown" @click="updateWhereSuggestionPosition" @blur="dismissWhereSuggestions" @@ -1885,8 +1885,8 @@ defineExpose({ autocapitalize="off" autocorrect="off" spellcheck="false" - class="flex-1 h-5 min-w-0 text-xs bg-transparent outline-none placeholder:text-muted-foreground" - placeholder="column desc" + class="flex-1 h-5 min-w-0 text-xs bg-transparent outline-none placeholder:text-muted-foreground/60" + placeholder="columns..." @keydown="onOrderByKeydown" @click="updateOrderBySuggestionPosition" @blur="dismissOrderBySuggestions" @@ -1949,7 +1949,7 @@ defineExpose({ - + {{ t("grid.filterAllRows") }} {{ t("grid.filterChangedRows") }} {{ t("grid.statusEdited") }} @@ -1994,8 +1994,8 @@ defineExpose({
-
-
+
+
diff --git a/src/components/sql-file/SqlFileExecutionDialog.vue b/src/components/sql-file/SqlFileExecutionDialog.vue index 6d05e0a6bd..8ebc02cbca 100644 --- a/src/components/sql-file/SqlFileExecutionDialog.vue +++ b/src/components/sql-file/SqlFileExecutionDialog.vue @@ -336,7 +336,7 @@ watch(open, (value) => {