Explorar el Código

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

chenrui hace 4 años
padre
commit
6765a443f2
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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')