Skip to content

Commit 7c2751a

Browse files
author
piexlMax
committed
提交v2.6.7版本,修复Sort使用的字段bug。
1 parent 50b524f commit 7c2751a

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

server/core/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func RunWindowsServer() {
3737

3838
fmt.Printf(`
3939
欢迎使用 gin-vue-admin
40-
当前版本:v2.5.6
40+
当前版本:v2.5.7
4141
加群方式:微信号:shouzi_1994 QQ群:622360840
4242
插件市场:https://plugin.gin-vue-admin.com
4343
GVA讨论社区:https://support.qq.com/products/371961

server/resource/autocode_template/server/service.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ func ({{.Abbreviation}}Service *{{.StructName}}Service)Get{{.StructName}}InfoLis
117117
orderMap := make(map[string]bool)
118118
{{- range .Fields}}
119119
{{- if .Sort}}
120-
orderMap["{{.FieldJson}}"] = true
120+
orderMap["{{.ColumnName}}"] = true
121121
{{- end}}
122122
{{- end}}
123123
if orderMap[info.Sort] {

web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gin-vue-admin",
3-
"version": "2.5.6",
3+
"version": "2.5.7",
44
"private": true,
55
"scripts": {
66
"serve": "node openDocument.js && vite --host --mode development",

web/src/core/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const viteLogo = (env) => {
1818
)
1919
console.log(
2020
chalk.green(
21-
`> 当前版本:v2.5.6`
21+
`> 当前版本:v2.5.7`
2222
)
2323
)
2424
console.log(

web/src/core/gin-vue-admin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default {
1010
register(app)
1111
console.log(`
1212
欢迎使用 Gin-Vue-Admin
13-
当前版本:v2.5.6
13+
当前版本:v2.5.7
1414
加群方式:微信:shouzi_1994 QQ群:622360840
1515
GVA讨论社区:https://support.qq.com/products/371961
1616
插件市场:https://plugin.gin-vue-admin.com

0 commit comments

Comments
 (0)