Просмотр исходного кода

Merge branch 'master' into master-pro

hxl13994548489 10 месяцев назад
Родитель
Сommit
6105042ddf
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      pages/store/editStore.vue

+ 4 - 2
pages/store/editStore.vue

@@ -129,8 +129,8 @@ export default {
     },
     methods: {
         submit() {
-            this.$http.post('/merchant/localMerchantInfo/edit', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
-							// this.$http.post('/merchant/localMerchantInfo/edit/new', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
+            // this.$http.post('/merchant/localMerchantInfo/edit', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
+							this.$http.post('/merchant/localMerchantInfo/editMerchantInfo ', { ...this.form, headPhoto: this.form.headPhoto.join(',') }).then(res => {
                 if (res.data.success) {
                     this.$tip.success(res.data.result || '成功')
                     uni.navigateBack({
@@ -193,10 +193,12 @@ export default {
             });
         },
         onConfirm(e) {
+					console.log(e)
             
             this.mapIsHidden = false
             this.form.locality = e.result
             this.form.country = e.value[e.value.length - 1]
+						this.form.thirdPartyAreaList=e.value
         },
         DelImg(e) {
             uni.showModal({