DESKTOP-SVI9JE1\muzen преди 2 години
родител
ревизия
69f8a6bbd1
променени са 3 файла, в които са добавени 0 реда и са изтрити 13 реда
  1. 0 5
      src/pages/activity/index.vue
  2. 0 4
      src/pages/agreement/index.vue
  3. 0 4
      src/pages/help/detail.vue

+ 0 - 5
src/pages/activity/index.vue

@@ -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({

+ 0 - 4
src/pages/agreement/index.vue

@@ -18,15 +18,11 @@ export default {
   },
   methods: {
     getDetail(type) {
-      uni.showLoading({
-        mask: true
-      })
       detail({
         type: type
       }).then(res => {
         if (res.data.code === 0) {
           this.form = res.data.data
-          uni.hideLoading()
         }
       })
     }

+ 0 - 4
src/pages/help/detail.vue

@@ -48,11 +48,7 @@ export default {
   },
   methods: {
     getDetail() {
-      uni.showLoading({
-        mask: true
-      })
       detail(this.form).then(res => {
-        uni.hideLoading()
         if (res.data.code === 0) {
           this.tableData = res.data.data.records
           this.total = res.data.data.total