Fix: DataGrid数据集和工具栏的修复及加强 (#157)

* fix: 修复结果集内的数据过滤功能

* add: 将原先误删的WHERE查询加回

* add: 合并事务栏和搜索栏,并且在结果集中不启用搜索功能

* add: 修复在表数据和结果集模式下,DataGrid刷新时未保留查询条件的问题,将表数据和结果集的处理逻辑进行拆分

* add: 与主分支合并,解决冲突

* add: 恢复i18n

* add: 恢复useDataGridActions.ts

* add: 恢复ContentArea.vue

* add: 恢复DataGrid.vue

* fix: 修复括号自动配对的bug

* add: 将DDL按钮移到表数据编辑的第一行尾,并且不在DataGrid中显示
This commit is contained in:
rarnu authored and GitHub committed 2026-05-08 16:04:21 +08:00
1 parent 1777e17353
commit 47ad960bbb
6 files changed
+339 -82

No files matched your search

+1 -1
View File
@@ -497,7 +497,7 @@ onUnmounted(() => {
@editor-selection-change="(v: string) => (selectedSql = v)"
@editor-cursor-change="(p: number) => (cursorPos = p)"
@format-error="toast(t('toolbar.formatSqlFailed'))"
@reload="onReloadData"
@reload="(sql?: string, whereInput?: string) => onReloadData(sql, whereInput)"
@paginate="onPaginate"
@sort="onSort"
@execute-sql="onExecuteSql"