Browse Source

bug 修复

lilei 4 years ago
parent
commit
6f503c2b60
1 changed files with 2 additions and 1 deletions
  1. 2 1
      hybrid/html/video.html

+ 2 - 1
hybrid/html/video.html

@@ -355,7 +355,8 @@
 					// 耗时计算
 					// 耗时计算
 					haoshi() {
 					haoshi() {
 						let s = this.kptj.startTime
 						let s = this.kptj.startTime
-						this.kptj.haoshi = moment().diff(s, 'hours') + '时' + moment().diff(s, 'minutes') % 60 + '分'
+						let times = moment().diff(s, 'hours') + '时' + moment().diff(s, 'minutes') % 60 + '分'
+						this.$set(this.kptj,'haoshi',times)
 					},
 					},
 					// 发送消息给app 页面
 					// 发送消息给app 页面
 					sendMsg(action, msg) {
 					sendMsg(action, msg) {