From f7a99184725f7ea0884cf478f169aad4e5b6583c Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Sun, 13 Jul 2025 18:27:57 +0800
Subject: [PATCH] 1
---
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