Skip to content

Commit 4524931

Browse files
committed
Merge branch 'main'
2 parents 4966763 + 258552e commit 4524931

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

config/constant.go

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

3-
const Version = "3.5.0"
3+
const Version = "3.5.1"
44
const Trial = false
55
const VersionType = ""
66

controller/apiTag.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1179,9 +1179,7 @@ func ApiDiyField(ctx iris.Context) {
11791179
settings[fields[i].Name] = val
11801180
}
11811181
} else if fields[i].Type == config.CustomFieldTypeTexts && settings[fields[i].Name] != nil {
1182-
var texts []model.CustomFieldTexts
1183-
_ = json.Unmarshal([]byte(fmt.Sprint(settings[fields[i].Name])), &texts)
1184-
settings[fields[i].Name] = texts
1182+
// 不需要处理
11851183
} else if fields[i].Type == config.CustomFieldTypeArchive && settings[fields[i].Name] != nil {
11861184
// 列表
11871185
var arcIds []int64

0 commit comments

Comments
 (0)