fxi menu
This commit is contained in:
parent
b0172444c6
commit
5fe503b53c
@ -49,6 +49,7 @@ struct MainMenuBar: View {
|
||||
|
||||
Button("打开控制面板") {
|
||||
openWindow(id: "main")
|
||||
NSApp.activate(ignoringOtherApps: true)
|
||||
}
|
||||
|
||||
SettingsLink {
|
||||
@ -58,11 +59,10 @@ struct MainMenuBar: View {
|
||||
|
||||
Divider()
|
||||
|
||||
Button(action: {
|
||||
Button("退出应用") {
|
||||
NSApplication.shared.terminate(nil)
|
||||
}, label: {
|
||||
Text("退出应用")
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user