From 1832eb70acb3b5badc27f166180536897c8e3c98 Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Tue, 09 Jul 2024 16:44:45 +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