How to use `Dialog Plugin` to implement asynchronous commit operations?
Description
I want to use Dialog Plugin to implement asynchronous submission functionality.
It's like this https://element-plus.org/en-US/component/message-box.html#customization
Just like this
Documentation Section URL
https://element-plus.org/en-US/component/message-box.html#customization
Flavour
Vite Plugin (@quasar/vite-plugin)
Areas
Plugins (quasar)
I can indeed use the dialog component to achieve this operation, but the writing method is not as simple as using the dialog plugin $q.dialog to create a dialog box.
The ElementPlus Message Box is implemented in this way:
You should use a custom Dialog component: https://github.com/quasarframework/quasar/pull/17121#issuecomment-2268955999 https://quasar.dev/quasar-plugins/dialog#invoking-custom-component