|
@@ -63,7 +63,7 @@
|
|
|
|
|
|
<script>
|
|
|
import {saveImgToAliOss} from '@/libs/tools.js'
|
|
|
- import { shopDetails,savShop } from '@/api/shop.js'
|
|
|
+ import { shopDetails,saveShop } from '@/api/shop.js'
|
|
|
export default{
|
|
|
data(){
|
|
|
return{
|
|
@@ -119,8 +119,8 @@
|
|
|
wx.chooseLocation({
|
|
|
success:(res)=>{
|
|
|
if(res){
|
|
|
+ console.log(res.address,'==========编码')
|
|
|
this.getArea(res.address)
|
|
|
- // this.form.contactAddress=res.address
|
|
|
this.reverseReceiveAddress.lat=res.latitude
|
|
|
this.reverseReceiveAddress.lng=res.longitude
|
|
|
this.reverseReceiveAddress.receiveAreasName= res.address
|
|
@@ -231,7 +231,7 @@
|
|
|
params.id=this.itemId
|
|
|
}
|
|
|
console.log(params,'-----------提交参数')
|
|
|
- savShop(params).then(res=>{
|
|
|
+ saveShop(params).then(res=>{
|
|
|
console.log(res)
|
|
|
if(res.status==200){
|
|
|
uni.navigateBack({})
|