From 7d733f737209a96149b2606754b5036421578a5f Mon Sep 17 00:00:00 2001
From: zzzz <690498789@qq.com>
Date: Wed, 27 Mar 2024 16:16:58 +0800
Subject: [PATCH] 翻译
---
src/components/Dialog/index.vue | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/components/Dialog/index.vue b/src/components/Dialog/index.vue
index 591b92d..8c737cc 100644
--- a/src/components/Dialog/index.vue
+++ b/src/components/Dialog/index.vue
@@ -11,10 +11,10 @@
<div class="footer">
<div class="cancel-dialog" @click="show = false" v-if="showCancelButton">
- {{ cancelButtonText }}
+ {{ $t(cancelButtonText) }}
</div>
<div class="confirm-dialog" v-if="showConfirmButton" @click="confirm">
- {{ confirmButtonText }}
+ {{ $t(confirmButtonText) }}
</div>
</div>
</van-dialog>
@@ -30,11 +30,11 @@
},
"confirm-button-text": {
type: String,
- default: "确定",
+ default: "hj161",
},
"cancel-button-text": {
type: String,
- default: "取消",
+ default: "qx",
},
"show-cancel-button": {
type: Boolean,
--
Gitblit v1.9.3