Browse Source

暂无门店提示

twt 1 year ago
parent
commit
5714eba7f9
1 changed files with 7 additions and 0 deletions
  1. 7 0
      pages/index/shopList.vue

+ 7 - 0
pages/index/shopList.vue

@@ -339,6 +339,13 @@
 					this.queryShopList = res.data.shop;
 					this.loading=true;
 					//console.log('list+=', this.queryShopList);
+					if(this.queryShopList.length==0){
+						uni.showToast({
+							title: '当前城市暂无门店,请切换城市查看',
+							icon: 'none',
+							duration: 4000
+						});
+					}
 
 				})
 			},