New translations migrating.mdx (Chinese Simplified)

[ci skip]
This commit is contained in:
Lea Anthony
2022-08-13 22:25:15 +10:00
parent 144f6c906e
commit 9f45a80523
@@ -60,7 +60,7 @@ Wails v2 与 v1 相比有重大变化。 本文档旨在重点介绍迁移现有
### 应用程序生命周期
In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options):
In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options): In v1, there were 2 special methods in a bound struct: `WailsInit()` and `WailsShutdown()`. These have been replaced with 3 lifecycle hooks as part of the [application options](../reference/options.mdx#application-options):
- [应用启动回调](../reference/options.mdx#onstartup)
- [应用退出回调](../reference/options.mdx#onshutdown)