Explorar el Código

共享空调页面刷新优化

程志平 hace 3 años
padre
commit
b47754530e
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      pagesAir/shareAir/shareAir.vue

+ 3 - 0
pagesAir/shareAir/shareAir.vue

@@ -235,12 +235,15 @@
 				uni.hideLoading();
 			}, 3000);
 		},
+		// 下拉刷新
 		onPullDownRefresh() {
 			var _this = this;
 			// 获取基本信息
 			_this.get_base_info(_this.options, 'onShow');
 			// 查询绑定的空调(更新列表)
 			_this.select_banding_airs();
+			// 停止刷新
+			uni.stopPullDownRefresh();
 		},
 		methods: {
 			/**