zhaosm il y a 2 jours
Parent
commit
2553a76d64
2 fichiers modifiés avec 2 ajouts et 9 suppressions
  1. 0 4
      pages/exhibitor/exhibit.vue
  2. 2 5
      pages/exhibitor/index.vue

+ 0 - 4
pages/exhibitor/exhibit.vue

@@ -132,10 +132,6 @@
 				this.getList()
 			},
 			getList() {
-				if (this.exhibitListLoading === true) {
-					return
-				}
-				this.exhibitListLoading = true
 				exhibitorsProductList(this.exhibitParams).then(res => {
 					if (res.data.data) {
 						if (this.exhibitParams.page > 1) {

+ 2 - 5
pages/exhibitor/index.vue

@@ -24,7 +24,8 @@
 				<van-empty v-if="exhibitorList.length === 0" description="暂无数据" />
 				<view v-else class="exhibitor-list">
 					<template v-for="(item, index) in exhibitorList">
-            <exhibitor-item :item="item" :key="index" :pollShow="pollShow.exhibitors_poll_show" @share="(e) => $emit('share', e)" @updateItemValue="updateItemValue()" />					</template>
+						<exhibitor-item :item="item" :key="index" :pollShow="pollShow.exhibitors_poll_show" @share="(e) => $emit('share', e)" @updateItemValue="updateItemValue()" />					
+					</template>
 				</view>
 				<disclaimer-text></disclaimer-text>
 			</view>
@@ -141,10 +142,6 @@
 				this.getExhibitorsList()
 			},
 			getExhibitorsList() {
-				if (this.exhibitorListLoading === true) {
-					return
-				}
-				this.exhibitorListLoading = true
 				exhibitorsList(this.exhibitorsParams).then(res => {
 					if (res.data.data) {
 						if (this.exhibitorsParams.page > 1) {