11

parent f8ca61f7
......@@ -169,7 +169,6 @@
v-model="show"
position="bottom"
custom-style="height:500px;overflow:auto;"
safe-area-inset-bottom="true"
@close="handleClose"
>
<view class="hcontent">
......@@ -383,7 +382,6 @@ const exsitedData = ref();
const dealCategoryData = ref([]);
onLoad((options) => {
console.log(options.content);
headers.value = { Authorization: 'Bearer ' + token };
if (options.content != null) {
isNewFlag.value = false;
......@@ -710,8 +708,10 @@ const submitData = () => {
// 重新定位收货地址
async function changeLocation() {
showNavBar.value = false;
console.log('1111');
uni.chooseLocation({
success: function (res) {
console.log('第一次回调', res);
// forMData.value.city = res.address;
formData.shopAddress = res.address;
formData.shopLng = res.longitude;
......@@ -740,6 +740,10 @@ async function changeLocation() {
// showNavBar.value = true;
}
},
complete: function (res) {
console.log('在complete里');
console.log(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