解决多语言切换时部分组件文本未更新问题

This commit is contained in:
icssoa
2025-07-28 18:57:37 +08:00
parent 524a8239ad
commit 4cace687c4
24 changed files with 123 additions and 60 deletions

View File

@@ -117,12 +117,12 @@ const props = defineProps({
// 弹窗标题
title: {
type: String,
default: t("数字键盘")
default: () => t("数字键盘")
},
// 输入框占位符
placeholder: {
type: String,
default: t("安全键盘,请放心输入")
default: () => t("安全键盘,请放心输入")
},
// 最大输入长度
maxlength: {
@@ -132,7 +132,7 @@ const props = defineProps({
// 确认按钮文本
confirmText: {
type: String,
default: t("确定")
default: () => t("确定")
},
// 是否显示输入值
showValue: {