wupengfei
6 天以前 4b8485df63736acf0aeb3fb8cf554b1403d5a154
packages/components/src/Input/ChooseLocationInput.vue
@@ -2,7 +2,7 @@
  <nut-input
    class="nut-input-text bole-input-text"
    type="text"
    input-align="right"
    :input-align="props.inputAlign"
    readonly
    @click="handleChooseLocation"
    :modelValue="props.modelValue.address"
@@ -34,9 +34,12 @@
type Props = {
  modelValue: WeMapModel;
  inputAlign: 'left' | 'center' | 'right';
};
const props = defineProps<Props>();
const props = withDefaults(defineProps<Props>(), {
  inputAlign: 'right',
});
const emit = defineEmits<{
  (e: 'update:modelValue', value: Props['modelValue']): void;