From f15ad3456b47e43646234b9c91c3ddd77ab2cd02 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 05 Jun 2024 10:05:13 +0800
Subject: [PATCH] 123
---
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