mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-06-06 13:53:54 +02:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user