From 5095d8b908ae1ac1daf992888956d27fddf5870f Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期日, 19 十月 2025 21:26:55 +0800
Subject: [PATCH] feat: 1.2.0.1
---
packages/components/src/Input/ChooseLocationInput.vue | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/Input/ChooseLocationInput.vue b/packages/components/src/Input/ChooseLocationInput.vue
index e139c62..968d011 100644
--- a/packages/components/src/Input/ChooseLocationInput.vue
+++ b/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;
--
Gitblit v1.9.1