Skip to content

Commit b0beced

Browse files
author
piexlmax
committed
修复自动化插件模板的bug
1 parent e6385c5 commit b0beced

File tree

3 files changed

+2
-45
lines changed

3 files changed

+2
-45
lines changed

server/resource/plug_template/README.MD

Lines changed: 0 additions & 43 deletions
This file was deleted.

server/resource/plug_template/main.go.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
type {{ .PlugName}}Plugin struct {
1212
}
1313

14-
func Create{{ .PlugName}}Plug({{- range .Global}} {{.Key}} {{.Type}} {{- end }})*{{ .PlugName}}Plugin {
14+
func Create{{ .PlugName}}Plug({{- range .Global}} {{.Key}} {{.Type}}, {{- end }})*{{ .PlugName}}Plugin {
1515
{{- if .HasGlobal }}
1616
{{- range .Global}}
1717
global.GlobalConfig.{{.Key}} = {{.Key}}

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.1 beta`
21+
`> 当前版本:v2.5.1`
2222
)
2323
)
2424
console.log(

0 commit comments

Comments
 (0)