From 1c5b815c6f251a081824d0a4a84b96ccb156c0af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?PiexlMax=28=E5=A5=87=E6=B7=BC?= <165128580+pixelmaxQm@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:58:04 +0800 Subject: [PATCH] Dev 278 beta2 (#1954) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 在关闭详情弹窗后 detailFrom为空对象,arr为undefined 使用slice控制台会报错 * 查询不重置pageSize * 优化主题模式相关内容 * 优化弹窗手机端显示 * bugfix:PostgreSQL initdb (#1953) * bugfix:postgresql增加显示指定template --------- Co-authored-by: PiexlMax(奇淼 <165128580+pixelmaxQm@users.noreply.github.com> --------- Co-authored-by: zayn <972858472@qq.com> Co-authored-by: Azir <2075125282@qq.com> Co-authored-by: Qing Liang <106448173+xue-ding-e@users.noreply.github.com> --- server/model/system/request/sys_init.go | 1 + .../resource/package/web/view/table.vue.tpl | 8 +- server/service/system/sys_initdb_pgsql.go | 7 +- web/src/components/commandMenu/index.vue | 12 +-- .../components/selectImage/selectImage.vue | 5 +- web/src/hooks/charts.js | 2 +- web/src/pathInfo.json | 2 +- web/src/pinia/modules/app.js | 94 ++++++++----------- .../components/charts-content-numbers.vue | 3 +- web/src/view/init/index.vue | 9 +- web/src/view/layout/header/index.vue | 3 +- web/src/view/layout/header/tools.vue | 3 +- web/src/view/layout/index.vue | 4 +- web/src/view/layout/setting/index.vue | 2 +- web/src/view/superAdmin/api/api.vue | 9 +- .../view/superAdmin/authority/authority.vue | 7 +- .../superAdmin/dictionary/sysDictionary.vue | 5 +- .../dictionary/sysDictionaryDetail.vue | 7 +- web/src/view/superAdmin/menu/icon.vue | 4 +- web/src/view/superAdmin/menu/menu.vue | 7 +- web/src/view/superAdmin/user/user.vue | 7 +- web/src/view/systemTools/autoCode/index.vue | 2 +- web/src/view/systemTools/system/system.vue | 4 +- 23 files changed, 110 insertions(+), 97 deletions(-) diff --git a/server/model/system/request/sys_init.go b/server/model/system/request/sys_init.go index 6882895d24..d04b1d249b 100644 --- a/server/model/system/request/sys_init.go +++ b/server/model/system/request/sys_init.go @@ -15,6 +15,7 @@ type InitDB struct { Password string `json:"password"` // 数据库密码 DBName string `json:"dbName" binding:"required"` // 数据库名 DBPath string `json:"dbPath"` // sqlite数据库文件路径 + Template string `json:"template"` // postgresql指定template } // MysqlEmptyDsn msyql 空数据库 建库链接 diff --git a/server/resource/package/web/view/table.vue.tpl b/server/resource/package/web/view/table.vue.tpl index f90af8fe93..703ba520e1 100644 --- a/server/resource/package/web/view/table.vue.tpl +++ b/server/resource/package/web/view/table.vue.tpl @@ -629,7 +629,7 @@ getDataSourceFunc() {{- end }} {{- end }} {{- end }} - +