瀏覽代碼

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

chenrui 4 年之前
父節點
當前提交
6765a443f2
共有 1 個文件被更改,包括 3 次插入0 次删除
  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')