Explorar el Código

门店查询bug

lilei hace 4 años
padre
commit
80306cc0f8
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      pages/videoShopTour/videoShopTour.vue

+ 2 - 2
pages/videoShopTour/videoShopTour.vue

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