This commit is contained in:
xingyy 2025-02-28 10:08:17 +08:00
parent a11700a15a
commit 436ebe3166

View File

@ -2,8 +2,6 @@
import { ref } from 'vue'
import { useI18n } from 'vue-i18n'
const { t } = useI18n()
const props = defineProps({
modelValue: {
type: [Number, String]
@ -25,7 +23,7 @@ const props = defineProps({
placeholder: {
type: String,
default: () => t('components.form.pleaseSelect')
default: () => useI18n().t('components.form.pleaseSelect')
},
disabled: {