12
This commit is contained in:
parent
a11700a15a
commit
436ebe3166
@ -2,8 +2,6 @@
|
|||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
||||||
const { t } = useI18n()
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
modelValue: {
|
modelValue: {
|
||||||
type: [Number, String]
|
type: [Number, String]
|
||||||
@ -25,7 +23,7 @@ const props = defineProps({
|
|||||||
|
|
||||||
placeholder: {
|
placeholder: {
|
||||||
type: String,
|
type: String,
|
||||||
default: () => t('components.form.pleaseSelect')
|
default: () => useI18n().t('components.form.pleaseSelect')
|
||||||
},
|
},
|
||||||
|
|
||||||
disabled: {
|
disabled: {
|
||||||
|
Loading…
Reference in New Issue
Block a user