소스 검색

门店查询bug

lilei 4 년 전
부모
커밋
80306cc0f8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      pages/videoShopTour/videoShopTour.vue

+ 2 - 2
pages/videoShopTour/videoShopTour.vue

@@ -51,9 +51,9 @@
 			init(){
 				this.status = 'loading'
 				// 获取门店列表
-				findStoreList().then(res => {
+				findStoreList({}).then(res => {
 					if(res.status == 200){
-						this.list = res.data.list || []
+						this.list = res.data || []
 						this.noDataText = '暂无数据'  //  有列表数据时不显示,因此只用默认设置为无数据时所需显示的'暂无数据'即可
 					}else{
 						this.list = []