|
@@ -74,12 +74,14 @@ Page({
|
|
|
title: options.navBarTitle
|
|
|
})
|
|
|
this.getreadInfo(videoId, options.reset).then(res => {
|
|
|
- if (options.voluntarily) {
|
|
|
- this.setCountDown()
|
|
|
- }
|
|
|
- if (options.autoPlay) {
|
|
|
- this.videoPlay()
|
|
|
- }
|
|
|
+ wx.nextTick(() => {
|
|
|
+ if (options.voluntarily) {
|
|
|
+ this.setCountDown()
|
|
|
+ }
|
|
|
+ if (options.autoPlay) {
|
|
|
+ this.videoPlay()
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
this.setData({
|
|
|
readingReset: options.reset || false,
|