|
@@ -18,6 +18,7 @@
|
|
|
<script lang="ts" setup>
|
|
<script lang="ts" setup>
|
|
|
import { shallowRef, computed, PropType, watch } from 'vue'
|
|
import { shallowRef, computed, PropType, watch } from 'vue'
|
|
|
import { Popup, Picker, PickerConfirmEventParams, FieldInstance } from 'vant'
|
|
import { Popup, Picker, PickerConfirmEventParams, FieldInstance } from 'vant'
|
|
|
|
|
+import { i18n } from '@/stores'
|
|
|
|
|
|
|
|
const props = defineProps({
|
|
const props = defineProps({
|
|
|
modelValue: {
|
|
modelValue: {
|
|
@@ -37,7 +38,7 @@ const props = defineProps({
|
|
|
},
|
|
},
|
|
|
placeholder: {
|
|
placeholder: {
|
|
|
type: String,
|
|
type: String,
|
|
|
- default: '请选择'
|
|
|
|
|
|
|
+ default: i18n.global.t('common.choice')
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
|
|
|