@@ -42,15 +42,10 @@ export default {
},
methods: {
getDetail() {
- uni.showLoading({
- title: '加载中...',
- mask: true
- })
detail({
activityId: this.form.activityId
}).then(res => {
if (res.data.code === 0) {
- uni.hideLoading()
this.pic = res.data.data.pic
} else {
uni.showToast({
@@ -18,15 +18,11 @@ export default {
getDetail(type) {
type: type
this.form = res.data.data
}
})
@@ -48,11 +48,7 @@ export default {
detail(this.form).then(res => {
this.tableData = res.data.data.records
this.total = res.data.data.total