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
2026-03-01 23:22:25 +08:00
committed by GitHub
parent 759c22758e
commit 3f21f39584
5 changed files with 22 additions and 33 deletions
+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) {