From 0f3578b222be4914d1ede0064c4ae9f2745601e2 Mon Sep 17 00:00:00 2001 From: Ayideyia <150233177+Ayideyia@users.noreply.github.com> Date: Sun, 27 Oct 2024 18:52:51 +0800 Subject: [PATCH] feat: Customizable button text --- frontend/src/components/Confirm/index.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/Confirm/index.vue b/frontend/src/components/Confirm/index.vue index 762612f9..4a907532 100644 --- a/frontend/src/components/Confirm/index.vue +++ b/frontend/src/components/Confirm/index.vue @@ -11,6 +11,8 @@ import Table from '@/components/Table/index.vue' export type Options = { type: 'text' | 'markdown' + cancelText?: string + okText?: string } interface Props { @@ -147,9 +149,11 @@ const handleCancel = () => {
{{ t(title) }}
- +