From 4f0d3abeea41e1d9ca14ac82f3ea22535d9a5ffc Mon Sep 17 00:00:00 2001 From: Kang-Yang <591616450@qq.com> Date: Thu, 23 Jul 2026 10:27:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(datagrid):=20=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E8=B7=B3=E9=A1=B5=E8=BE=93=E5=85=A5=E6=A1=86=E6=95=B0?= =?UTF-8?q?=E5=AD=97=E5=9E=82=E7=9B=B4=E6=9C=AA=E5=B1=85=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/package-lock.json | 1 + frontend/package.json.md5 | 2 +- frontend/src/v2-theme.css | 11 ++++--- frontend/wailsjs/go/models.ts | 60 ++++++++++++++++++----------------- 4 files changed, 40 insertions(+), 34 deletions(-) diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 61167864..2250d7d6 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "gonavi-client", "version": "0.6.5", + "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { "@ant-design/icons": "^5.2.6", diff --git a/frontend/package.json.md5 b/frontend/package.json.md5 index 96a8c92b..db151a22 100755 --- a/frontend/package.json.md5 +++ b/frontend/package.json.md5 @@ -1 +1 @@ -339d5c974e6ab5cba2d5def171f5ce0a +84c1262b11d52116d262ce60a8ec5676 \ No newline at end of file diff --git a/frontend/src/v2-theme.css b/frontend/src/v2-theme.css index b7d650ec..caaeaef3 100644 --- a/frontend/src/v2-theme.css +++ b/frontend/src/v2-theme.css @@ -5051,13 +5051,16 @@ body[data-ui-version="v2"] .gn-v2-data-grid-pagination-wrap .data-grid-paginatio line-height: 26px !important; } -body[data-ui-version="v2"] .gn-v2-data-grid-pagination-wrap .data-grid-pagination-jump-input .ant-input-number-input-wrap, -body[data-ui-version="v2"] .gn-v2-data-grid-pagination-wrap .data-grid-pagination-jump-input .ant-input-number-input { - height: 26px !important; - line-height: 26px !important; +body[data-ui-version="v2"] .gn-v2-data-grid-pagination-wrap .data-grid-pagination-jump-input .ant-input-number-input-wrap { + display: flex !important; + align-items: center !important; + height: 100% !important; + line-height: normal !important; } body[data-ui-version="v2"] .gn-v2-data-grid-pagination-wrap .data-grid-pagination-jump-input .ant-input-number-input { + height: 100% !important; + line-height: 1 !important; padding: 0 4px !important; color: var(--gn-fg-1) !important; font-family: var(--gn-font-mono); diff --git a/frontend/wailsjs/go/models.ts b/frontend/wailsjs/go/models.ts index fe750105..fc144d35 100755 --- a/frontend/wailsjs/go/models.ts +++ b/frontend/wailsjs/go/models.ts @@ -5,11 +5,11 @@ export namespace ai { temperature?: number; maxTokens?: number; thinkingIntensity?: string; - + static createFrom(source: any = {}) { return new ChatSendOptions(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.model = source["model"]; @@ -25,11 +25,11 @@ export namespace ai { configPath?: string; command?: string; args?: string[]; - + static createFrom(source: any = {}) { return new MCPClientInstallResult(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.success = source["success"]; @@ -529,11 +529,11 @@ export namespace app { export class ImportFileOptions { columnMappings?: Record; jobId?: string; - + static createFrom(source: any = {}) { return new ImportFileOptions(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.columnMappings = source["columnMappings"]; @@ -1303,11 +1303,11 @@ export namespace connection { export class SchemaVisibilityRule { mode: string; schemas?: string[]; - + static createFrom(source: any = {}) { return new SchemaVisibilityRule(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.mode = source["mode"]; @@ -1476,11 +1476,11 @@ export namespace connection { parentGroupId: string; queryIds: string[]; childOrder: string[]; - + static createFrom(source: any = {}) { return new SavedQueryGroup(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.id = source["id"]; @@ -1524,7 +1524,7 @@ export namespace connection { return a; } } - + export class TestGlobalProxyInput { proxy: SaveGlobalProxyInput; url: string; @@ -1628,16 +1628,16 @@ export namespace jvm { } export namespace nativewindow { - + export class HostStateRequest { id: string; revision: number; storeState: Record; - + static createFrom(source: any = {}) { return new HostStateRequest(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.id = source["id"]; @@ -1654,11 +1654,11 @@ export namespace nativewindow { y: number; width: number; height: number; - + static createFrom(source: any = {}) { return new OpenRequest(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.id = source["id"]; @@ -1676,11 +1676,11 @@ export namespace nativewindow { y: number; width: number; height: number; - + static createFrom(source: any = {}) { return new WindowBounds(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.x = source["x"]; @@ -1696,11 +1696,11 @@ export namespace nativewindow { bounds?: WindowBounds; visibilityRevision?: number; applied?: boolean; - + static createFrom(source: any = {}) { return new OperationResult(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.success = source["success"]; @@ -1710,7 +1710,7 @@ export namespace nativewindow { this.visibilityRevision = source["visibilityRevision"]; this.applied = source["applied"]; } - + convertValues(a: any, classs: any, asMap: boolean = false): any { if (!a) { return a; @@ -1729,7 +1729,7 @@ export namespace nativewindow { return a; } } - + export class WindowInfo { id: string; kind: string; @@ -1743,11 +1743,11 @@ export namespace nativewindow { ready: boolean; closeSent: boolean; hidden?: boolean; - + static createFrom(source: any = {}) { return new WindowInfo(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.id = source["id"]; @@ -1868,7 +1868,7 @@ export namespace resultdiff { } export namespace sqlaudit { - + export class Filter { search: string; connectionId: string; @@ -1882,11 +1882,11 @@ export namespace sqlaudit { toTimestamp: number; page: number; pageSize: number; - + static createFrom(source: any = {}) { return new Filter(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.search = source["search"]; @@ -1908,11 +1908,11 @@ export namespace sqlaudit { captureMode: string; retentionDays: number; maxRecords: number; - + static createFrom(source: any = {}) { return new Settings(source); } - + constructor(source: any = {}) { if ('string' === typeof source) source = JSON.parse(source); this.enabled = source["enabled"]; @@ -1923,6 +1923,7 @@ export namespace sqlaudit { } } + export namespace sync { export class TableOptions { @@ -2031,3 +2032,4 @@ export namespace sync { } } +