File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : build
2
2
3
- RELEASE_VERSION = v10.3.4
3
+ RELEASE_VERSION = v10.3.5
4
4
5
5
APP = gin-admin-cli
6
6
BIN = ${APP}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import (
13
13
//go:embed tpls
14
14
var f embed.FS
15
15
16
- var VERSION = "v10.3.4 "
16
+ var VERSION = "v10.3.5 "
17
17
18
18
func main () {
19
19
defer func () {
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ const {{$name}}Modal: React.FC<{{$name}}ModalProps> = (props: {{$name}}ModalProp
33
33
const data = res.data;
34
34
{{- if $includeStatus } }
35
35
data.statusChecked = data.status === 'enabled';
36
- { {-end} }
36
+ { {- end} }
37
37
formRef.current?.setFieldsValue(data);
38
38
}
39
39
});
@@ -66,7 +66,7 @@ const {{$name}}Modal: React.FC<{{$name}}ModalProps> = (props: {{$name}}ModalProp
66
66
onFinish={ async (values: API.{{$name } }) => {
67
67
{{- if $includeStatus } }
68
68
values.status = values.statusChecked ? 'enabled' : 'disabled';
69
- { {-end} }
69
+ { {- end} }
70
70
if (props.id) {
71
71
await update{{$name } }(props.id, values);
72
72
} else {
You can’t perform that action at this time.
0 commit comments