From 524285f767b7e80eaaaa2405b6d1a87c98464066 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Sat, 27 Sep 2025 20:41:45 +0800 Subject: [PATCH] feat: add cancel button with localized text to AddNewPlatform and update close button in AddNewProvider fixes: #2889 --- dashboard/src/components/platform/AddNewPlatform.vue | 4 ++++ dashboard/src/components/provider/AddNewProvider.vue | 4 +--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dashboard/src/components/platform/AddNewPlatform.vue b/dashboard/src/components/platform/AddNewPlatform.vue index f125bbe8..236a6aab 100644 --- a/dashboard/src/components/platform/AddNewPlatform.vue +++ b/dashboard/src/components/platform/AddNewPlatform.vue @@ -31,6 +31,10 @@ + + + {{ tm('dialog.cancel') }} + diff --git a/dashboard/src/components/provider/AddNewProvider.vue b/dashboard/src/components/provider/AddNewProvider.vue index 164e3130..b4cd1eb9 100644 --- a/dashboard/src/components/provider/AddNewProvider.vue +++ b/dashboard/src/components/provider/AddNewProvider.vue @@ -63,9 +63,7 @@ - - Close - + {{ tm('dialogs.config.cancel') }}