Browse Source

订单列表 倒计时 安卓手机息屏不走问题(ios好着)

chenrui 4 năm trước cách đây
mục cha
commit
6765a443f2
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      pages/order/order.vue

+ 3 - 0
pages/order/order.vue

@@ -195,6 +195,9 @@
 		onUnload() {
 			uni.$off('refresh', this.handleRefresh)
 		},
+		onShow() {
+			this.getRow(1)  //  解决安卓息屏后倒计时不走问题
+		},
 		// 下拉刷新
 		onPullDownRefresh() {
 			console.log('refresh')