From 252fc553f24686e7131007ee9322abc5d9011981 Mon Sep 17 00:00:00 2001 From: "meilin.huang" <954537473@qq.com> Date: Wed, 31 Jan 2024 12:53:27 +0800 Subject: [PATCH] feat: v1.7.2 --- mayfly_go_web/src/common/config.ts | 2 +- .../ops/db/component/table/DbTableData.vue | 23 +++++++++++------- .../ops/db/component/table/DbTableDataOp.vue | 11 +++------ server/pkg/config/app.go | 2 +- server/resources/data/mayfly-go.sqlite | Bin 233472 -> 233472 bytes .../resources/script/sql/mayfly-go-sqlite.sql | 6 +++++ server/resources/script/sql/mayfly-go.sql | 8 +++++- server/resources/script/sql/v1.7/v1.7.2.sql | 4 +-- 8 files changed, 35 insertions(+), 21 deletions(-) diff --git a/mayfly_go_web/src/common/config.ts b/mayfly_go_web/src/common/config.ts index 92770733..e73f0aca 100644 --- a/mayfly_go_web/src/common/config.ts +++ b/mayfly_go_web/src/common/config.ts @@ -15,7 +15,7 @@ const config = { baseWsUrl: `${(window as any).globalConfig.BaseWsUrl || `${location.protocol == 'https:' ? 'wss:' : 'ws:'}//${getBaseApiUrl()}`}/api`, // 系统版本 - version: 'v1.7.1', + version: 'v1.7.2', }; export default config; diff --git a/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue b/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue index 00d876c4..02750199 100644 --- a/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue +++ b/mayfly_go_web/src/views/ops/db/component/table/DbTableData.vue @@ -46,14 +46,6 @@ {{ column.title }} - - - - @@ -71,6 +63,13 @@ {{ column.title }} + + +
+ + + +
@@ -874,7 +873,13 @@ defineExpose({ position: absolute; top: -5px; padding: 2px; - height: 12px; + } + + .column-right { + position: absolute; + top: 2px; + right: 0; + padding: 2px; } } diff --git a/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue b/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue index 727bde8a..dbf56235 100644 --- a/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue +++ b/mayfly_go_web/src/views/ops/db/component/table/DbTableDataOp.vue @@ -197,13 +197,10 @@ /> - - - - - - - 总 {{ state.total }} 条 + + + {{ state.showTotal ? `${state.total} 条` : 'count' }} + diff --git a/server/pkg/config/app.go b/server/pkg/config/app.go index 509aec5f..bcb099a9 100644 --- a/server/pkg/config/app.go +++ b/server/pkg/config/app.go @@ -4,7 +4,7 @@ import "fmt" const ( AppName = "mayfly-go" - Version = "v1.7.1" + Version = "v1.7.2" ) func GetAppInfo() string { diff --git a/server/resources/data/mayfly-go.sqlite b/server/resources/data/mayfly-go.sqlite index 7bb969666757e588a08a5a423bd1cab76dbda29a..7ed16d6e3b0ed05e64a9fef5ef55fbd789f5a4dd 100644 GIT binary patch delta 508 zcmZozz}K*VZ-TU-5Ca2)B@n}a?nE79Rv`wxWX6ptbNl((e=x8!JYeAc%j3oHfXi~S zz=R82EoIE?;>ya5oyMErak?@IDWv8lCgr52#HXYdCo6=wMubeCD90$dIf{863kw4S zljG(;>@OHWthC85I0Ly__*mG*jg1-Goi{UaoMu!}C`v6Z$uG*xOIPsp3vqRK4bo9a zNzF+uK@tI(D6!dV&K_pIbOs(q&Njw$j&ioSEP)#vgBiJ6)4ABiRaF_g1vl?qwuwm$ z(?uF)CYlg4>K2-^Hn**8Z(GT@y=^5^9UHSStH^Zr4NNM`BCInu3kp1A;b~-OR1jid zbY|q#R-Aru3X^PFdWLIJc1TK+KGUDf&HnWLU4 delta 177 zcmZozz}K*VZ-TTSF9QREB@n}a=0qK1R$d0Zv{xHb=JxXgh1r=S8F>HlcyT^q|1nu$ z!i9|!Dw#G%GWYRJpCHF5IcWi#P#psgBWD}iX4WOlrx@#a*D$=A*m!ligCHX-3$F&# z%gGCub!-k?V#>tz_KZwvwrijaiUQYC8J{ ZCKbm2n*{}~u`)_ebQIq%wT