Skip to content

Commit dc59449

Browse files
committed
fix: Fix frontend tpl
1 parent 1512a55 commit dc59449

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: build
22

3-
RELEASE_VERSION = v10.3.4
3+
RELEASE_VERSION = v10.3.5
44

55
APP = gin-admin-cli
66
BIN = ${APP}

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
//go:embed tpls
1414
var f embed.FS
1515

16-
var VERSION = "v10.3.4"
16+
var VERSION = "v10.3.5"
1717

1818
func main() {
1919
defer func() {

tpls/ant-design-pro-v5/pages.components.form.tsx.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const {{$name}}Modal: React.FC<{{$name}}ModalProps> = (props: {{$name}}ModalProp
3333
const data = res.data;
3434
{{- if $includeStatus}}
3535
data.statusChecked = data.status === 'enabled';
36-
{{-end}}
36+
{{- end}}
3737
formRef.current?.setFieldsValue(data);
3838
}
3939
});
@@ -66,7 +66,7 @@ const {{$name}}Modal: React.FC<{{$name}}ModalProps> = (props: {{$name}}ModalProp
6666
onFinish={async (values: API.{{$name}}) => {
6767
{{- if $includeStatus}}
6868
values.status = values.statusChecked ? 'enabled' : 'disabled';
69-
{{-end}}
69+
{{- end}}
7070
if (props.id) {
7171
await update{{$name}}(props.id, values);
7272
} else {

0 commit comments

Comments
 (0)