Skip to content

Commit c7cf59f

Browse files
author
cg33
committed
update to v1.2.15
1 parent 74b48ad commit c7cf59f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

zh/pages/pages.md

+3
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ func GetContent(ctx *gin.Context) (types.Panel, error) {
165165
// Title 与 Description是标题与描述
166166
Title: "表单",
167167
Description: "表单例子",
168+
169+
// 这里需要注册表单的回调函数,如果不注册,action的回调函数不会被调用
170+
Callbacks: panel.Callbacks,
168171
}, nil
169172
}
170173
```

0 commit comments

Comments
 (0)