mirror of
https://github.com/misitebao/wails-template-vue
synced 2025-05-24 10:08:02 +08:00
feat: modify the callback function to a pointer function
This commit is contained in:
parent
90977fcfdb
commit
63c2b04024
@ -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
|
||||
// 在这里添加你的操作
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user