fix:修改 el-select placeholder 国际化的问题

This commit is contained in:
zhangyu
2023-07-12 09:48:33 +08:00
parent 5d08a255d6
commit 4c3a8effd8

View File

@@ -290,7 +290,7 @@ export default {
placeholder: {
type: String,
default () {
return t('el.select.placeholder')
return this.$t('el.select.placeholder')
}
},
defaultFirstOption: Boolean,