解决多语言切换时部分组件文本未更新问题
This commit is contained in:
@@ -132,7 +132,7 @@ const props = defineProps({
|
||||
*/
|
||||
title: {
|
||||
type: String,
|
||||
default: t("请选择")
|
||||
default: () => t("请选择")
|
||||
},
|
||||
/**
|
||||
* 选择器占位符文本
|
||||
@@ -140,7 +140,7 @@ const props = defineProps({
|
||||
*/
|
||||
placeholder: {
|
||||
type: String,
|
||||
default: t("请选择")
|
||||
default: () => t("请选择")
|
||||
},
|
||||
/**
|
||||
* 选项数据源,支持树形结构
|
||||
|
||||
Reference in New Issue
Block a user