Commit 54a40cf4 authored by 潘永坪's avatar 潘永坪

格式统一

parent 51611c38
...@@ -364,7 +364,6 @@ export default { ...@@ -364,7 +364,6 @@ export default {
} }
this.scenicList=[] this.scenicList=[]
this.$request('/scenic/groupGood/findGroupGoodProductList', data).then(res => { this.$request('/scenic/groupGood/findGroupGoodProductList', data).then(res => {
uni.hideLoading()
if (res.code == '00') { if (res.code == '00') {
let merchantList=res.data.merchantList||[] let merchantList=res.data.merchantList||[]
merchantList.forEach(item=>{ merchantList.forEach(item=>{
...@@ -414,8 +413,6 @@ export default { ...@@ -414,8 +413,6 @@ export default {
icon: 'none' icon: 'none'
}) })
} }
}).catch(err => {
uni.hideLoading()
}) })
}, },
//---初始化详情 //---初始化详情
......
...@@ -501,12 +501,7 @@ export default { ...@@ -501,12 +501,7 @@ export default {
latitude, latitude,
longitude longitude
} }
uni.showLoading({ this.$request('/scenic/groupGood/getGroupProducts', data).then(res => {
title: '加载中'
})
this.$request('/scenic/groupGood/getGroupProducts', data)
.then(res => {
uni.hideLoading()
if (res.code == '00') { if (res.code == '00') {
this.scenicList = res.data.merchantList || [] this.scenicList = res.data.merchantList || []
this.groupId = res.data.groupId || '' this.groupId = res.data.groupId || ''
...@@ -553,9 +548,6 @@ export default { ...@@ -553,9 +548,6 @@ export default {
}) })
} }
}) })
.catch(err => {
uni.hideLoading()
})
}, },
//---跳转填写订单页面 //---跳转填写订单页面
goFillorder() { goFillorder() {
......
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