11

parent f8ca61f7
...@@ -169,7 +169,6 @@ ...@@ -169,7 +169,6 @@
v-model="show" v-model="show"
position="bottom" position="bottom"
custom-style="height:500px;overflow:auto;" custom-style="height:500px;overflow:auto;"
safe-area-inset-bottom="true"
@close="handleClose" @close="handleClose"
> >
<view class="hcontent"> <view class="hcontent">
...@@ -383,7 +382,6 @@ const exsitedData = ref(); ...@@ -383,7 +382,6 @@ const exsitedData = ref();
const dealCategoryData = ref([]); const dealCategoryData = ref([]);
onLoad((options) => { onLoad((options) => {
console.log(options.content);
headers.value = { Authorization: 'Bearer ' + token }; headers.value = { Authorization: 'Bearer ' + token };
if (options.content != null) { if (options.content != null) {
isNewFlag.value = false; isNewFlag.value = false;
...@@ -710,8 +708,10 @@ const submitData = () => { ...@@ -710,8 +708,10 @@ const submitData = () => {
// 重新定位收货地址 // 重新定位收货地址
async function changeLocation() { async function changeLocation() {
showNavBar.value = false; showNavBar.value = false;
console.log('1111');
uni.chooseLocation({ uni.chooseLocation({
success: function (res) { success: function (res) {
console.log('第一次回调', res);
// forMData.value.city = res.address; // forMData.value.city = res.address;
formData.shopAddress = res.address; formData.shopAddress = res.address;
formData.shopLng = res.longitude; formData.shopLng = res.longitude;
...@@ -740,6 +740,10 @@ async function changeLocation() { ...@@ -740,6 +740,10 @@ async function changeLocation() {
// showNavBar.value = true; // showNavBar.value = true;
} }
}, },
complete: function (res) {
console.log('在complete里');
console.log(res);
},
}); });
}, },
complete: (res) => { complete: (res) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment