From fb243f3345c6f3ed7e7c8c2d98c39b5afc782b9a Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 20 十月 2025 10:24:40 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobMiniApp
---
packages/components/src/Input/ChooseLocationInput.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/packages/components/src/Input/ChooseLocationInput.vue b/packages/components/src/Input/ChooseLocationInput.vue
index d576d5e..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;
@@ -86,6 +89,7 @@
cityCode: findAreaCodeFromName(cityName),
countyCode: findAreaCodeFromName(countyName),
address: res.address,
+ addressName: res.name,
});
},
});
--
Gitblit v1.9.1