This commit is contained in:
朱子楚\zhuzi
2024-03-27 14:13:36 +08:00
parent b6c3f0eda9
commit f616a2da6a
19 changed files with 299 additions and 256 deletions

View File

@ -29,7 +29,6 @@ FluWindow {
}
FluEvent{
id:event_checkupdate
name: "checkUpdate"
onTriggered: {
checkUpdate(false)
@ -50,11 +49,9 @@ FluWindow {
Component.onCompleted: {
checkUpdate(true)
FluEventBus.registerEvent(event_checkupdate)
}
Component.onDestruction: {
FluEventBus.unRegisterEvent(event_checkupdate)
FluRouter.exit()
}