mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 01:34:24 +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 = {
|
const confirmButton: Dialog.DialogButton = {
|
||||||
text: tt('OK'),
|
text: tt('OK'),
|
||||||
|
strong: true,
|
||||||
onClick: confirmCallback
|
onClick: confirmCallback
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -292,6 +293,7 @@ export function useI18nUIComponents() {
|
|||||||
|
|
||||||
const confirmButton: Dialog.DialogButton = {
|
const confirmButton: Dialog.DialogButton = {
|
||||||
text: tt('OK'),
|
text: tt('OK'),
|
||||||
|
strong: true,
|
||||||
onClick: (dialog, event) => {
|
onClick: (dialog, event) => {
|
||||||
if (confirmCallback) {
|
if (confirmCallback) {
|
||||||
const inputValue = dialog.$el.find('.dialog-input').val();
|
const inputValue = dialog.$el.find('.dialog-input').val();
|
||||||
@@ -351,6 +353,7 @@ export function useI18nUIComponents() {
|
|||||||
|
|
||||||
const confirmButton: Dialog.DialogButton = {
|
const confirmButton: Dialog.DialogButton = {
|
||||||
text: tt('OK'),
|
text: tt('OK'),
|
||||||
|
strong: true,
|
||||||
onClick: () => {
|
onClick: () => {
|
||||||
window.open(url, '_blank');
|
window.open(url, '_blank');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user