Skip to content

Commit 54edfd1

Browse files
author
cg33
committed
feat(release): ready for v1.2.24
1 parent c6bf940 commit 54edfd1

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
GOCMD = go
22
GOBUILD = $(GOCMD) build
33
BINARY_NAME = adm
4-
LAST_VERSION = v1.2.22
5-
VERSION = v1.2.23
4+
LAST_VERSION = v1.2.23
5+
VERSION = v1.2.24
66
CLI = adm
77

88
TEST_CONFIG_PATH=./../../common/config.json

modules/file/file.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
package file
66

77
import (
8+
"fmt"
89
"io"
910
"mime/multipart"
1011
"os"
@@ -73,6 +74,7 @@ func Upload(c UploadFun, form *multipart.Form) error {
7374
}
7475

7576
form.Value[k] = append(form.Value[k], pathStr)
77+
form.Value[k+"_size"] = append(form.Value[k+"_size"], fmt.Sprintf("%d", fileObj.Size))
7678
}
7779
}
7880

modules/system/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package system
22

3-
const version = "v1.2.23"
3+
const version = "v1.2.24"
44

55
var requireThemeVersion = map[string][]string{
66
"adminlte": {">=v0.0.41"},

template/components/box.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ func (compo *BoxAttribute) WithSecondHeadBorder() types.BoxAttribute {
106106
func (compo *BoxAttribute) GetContent() template.HTML {
107107

108108
if compo.Style == "" {
109-
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="overflow-x: scroll;overflow-y: hidden;%s"`, compo.Padding))
109+
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="%s"`, compo.Padding))
110110
} else {
111111
compo.Style = template.HTMLAttr(fmt.Sprintf(`style="%s"`, string(compo.Style)+compo.Padding))
112112
}

0 commit comments

Comments
 (0)