17755135699 8 months ago
parent
commit
b2f6e3371f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pages/login/select.vue

+ 1 - 0
pages/login/select.vue

@@ -55,6 +55,7 @@
 				if (item.merchantType == 2) {//民宿
 				if (item.merchantType == 2) {//民宿
 					uni.setStorageSync('homestayId', item.merchantId);
 					uni.setStorageSync('homestayId', item.merchantId);
 					uni.setStorageSync('merchantId','');
 					uni.setStorageSync('merchantId','');
+					uni.reLaunch({
 						url: '/pages/home/index'
 						url: '/pages/home/index'
 					})
 					})
 				} else {//渔家乐和餐饮
 				} else {//渔家乐和餐饮