refactor(dialog): handle okLabel in js side (#3295)

* refactor(dialog): handle `okLabel` in js side

* Allow unused instead of `cfg(desktop)`
This commit is contained in:
Tony authored and GitHub committed 2026-03-01 23:22:25 +08:00
1 parent 759c22758e
commit 3f21f39584
5 files changed
+22 -33

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@
}
async function msg() {
await message("Tauri is awesome!");
await message("Tauri is awesome!").then((res) => onMessage(res));
}
async function msgCustom(result) {