askbot-dragon 1.7.90-beta → 1.7.91-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "askbot-dragon",
3
- "version": "1.7.90-beta",
3
+ "version": "1.7.91-beta",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "build": "vue-cli-service build",
@@ -3,7 +3,7 @@
3
3
  v-loading="loading"
4
4
  :element-loading-text="showProgress"
5
5
  class="dragon-video"
6
- :id="'dragon-video' + msg.id"
6
+ :id="'dragon-video' + msg.msgId"
7
7
  >
8
8
  <!-- <video-player
9
9
  class="video-player vjs-custom-skin"
@@ -20,7 +20,7 @@
20
20
  preload
21
21
  :poster="videoSrc+'?spm=qipa250&x-oss-process=video/snapshot,t_1000,f_jpg,w_0,h_0,m_fast'"
22
22
  class="video-player vjs-custom-skin"
23
- :id="msg.id+'key'">
23
+ :id="msg.msgId+'key'">
24
24
  <source :src="videoSrc"/>
25
25
  </video>
26
26
  <div v-if="isFullscreen" class="close-fullscreen" @click="closeFullScreen">
@@ -67,9 +67,9 @@
67
67
  this.poster = this.videoSrc+'?spm=qipa250&x-oss-process=video/snapshot,t_1000,f_jpg,w_0,h_0,m_fast'
68
68
  console.debug('poster',this.poster)
69
69
  /* 安卓手机播放视频默认全屏设置 ios默认就是全屏 */
70
- let id = this.msg.id + 'key'
70
+ let id = this.msg.msgId + 'key'
71
71
  const video = document.getElementById(id);
72
- let containerId = 'dragon-video' + this.msg.id
72
+ let containerId = 'dragon-video' + this.msg.msgId
73
73
  const videoContainer = document.getElementById(containerId);
74
74
  // 仅在 Android 设备尝试自动全屏
75
75
  const isAndroid = /Android/i.test(navigator.userAgent);
@@ -147,7 +147,7 @@
147
147
  },
148
148
  closeFullScreen(){
149
149
  this.isFullscreen = false;
150
- let containerId = 'dragon-video' + this.msg.id
150
+ let containerId = 'dragon-video' + this.msg.msgId
151
151
  const videoContainer = document.getElementById(containerId);
152
152
  videoContainer.classList.remove('force-fullscreen');
153
153
  }