Tauri 窗口事件
可以使用以下命令收听事件:appWindow.listen
import { appWindow } from "@tauri-apps/api/window";
appWindow.listen("my-window-event", ({ event, payload }) => { });
可以使用以下命令收听事件:appWindow.listen
import { appWindow } from "@tauri-apps/api/window";
appWindow.listen("my-window-event", ({ event, payload }) => { });