解决多语言切换时部分组件文本未更新问题
This commit is contained in:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user