mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 06:57:35 +08:00
update style of "OK" button in the dialog
This commit is contained in:
@@ -264,6 +264,7 @@ export function useI18nUIComponents() {
|
||||
|
||||
const confirmButton: Dialog.DialogButton = {
|
||||
text: tt('OK'),
|
||||
strong: true,
|
||||
onClick: confirmCallback
|
||||
};
|
||||
|
||||
@@ -292,6 +293,7 @@ export function useI18nUIComponents() {
|
||||
|
||||
const confirmButton: Dialog.DialogButton = {
|
||||
text: tt('OK'),
|
||||
strong: true,
|
||||
onClick: (dialog, event) => {
|
||||
if (confirmCallback) {
|
||||
const inputValue = dialog.$el.find('.dialog-input').val();
|
||||
@@ -351,6 +353,7 @@ export function useI18nUIComponents() {
|
||||
|
||||
const confirmButton: Dialog.DialogButton = {
|
||||
text: tt('OK'),
|
||||
strong: true,
|
||||
onClick: () => {
|
||||
window.open(url, '_blank');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user