feat: modify the callback function to a pointer function

This commit is contained in:
misitebao 2021-11-14 03:03:49 +08:00
parent 90977fcfdb
commit 63c2b04024

View File

@ -25,7 +25,7 @@ func (a *App) startup(ctx context.Context) {
// domReady is called after the front-end dom has been loaded
// domReady 在前端Dom加载完毕后调用
func (a App) domReady(ctx context.Context) {
func (a *App) domReady(ctx context.Context) {
// Add your action here
// 在这里添加你的操作
}