|
@@ -93,7 +93,8 @@ const cityClick = async () => {
|
|
|
)
|
|
|
console.log('TCL: cityClick -> address', address)
|
|
|
data.address = { ...data.address, ...address }
|
|
|
- settingAddress()
|
|
|
+ store.dispatch('handlerAddress',data.address)
|
|
|
+ settingAddress();
|
|
|
console.log('address', address)
|
|
|
}
|
|
|
|
|
@@ -139,6 +140,8 @@ const getList = async () => {
|
|
|
latitude,
|
|
|
longitude,
|
|
|
}
|
|
|
+ console.log('volunteerinfolist ==>',params);
|
|
|
+
|
|
|
const res = await volunteerinfolist(params)
|
|
|
|
|
|
if (!res || !res.rows) {
|
|
@@ -233,6 +236,8 @@ const settingAddress = async () => {
|
|
|
}
|
|
|
console.log("TCL: settingAddress -> parmas", parmas);
|
|
|
const res = await settingHomeAddress(parmas)
|
|
|
+ leftList.value = [];
|
|
|
+ rightList.value = [];
|
|
|
userType === 1 && getList()
|
|
|
} catch (error) {
|
|
|
console.log('设置地址失败', error)
|