Explorar el Código

跳转首页改为reLaunch,解决切换时未刷新首页问题

htc hace 1 año
padre
commit
4f710cc064
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pages/home/index.vue

+ 1 - 1
pages/home/index.vue

@@ -287,7 +287,7 @@
 						this.list = [];
 						uni.setStorageSync('homestayId', '');
 						uni.setStorageSync('merchantId', t.merchantId);
-						uni.navigateTo({
+						uni.reLaunch({
 							url: '/pagesHouse/home/index?merchantType=' + t.merchantType
 						})
 					}