Handy_Cao 1 rok temu
rodzic
commit
3c9ad88960

+ 2 - 1
src/packages/mobile/components/base/select/index.vue

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