648540858
2022-05-13 4d3f0a8d790afea1a3f577ac07cfea258457ebc2
优化海康国标录像播放的控制
2个文件已修改
8 ■■■■ 已修改文件
src/main/java/com/genersoft/iot/vmp/utils/DateUtil.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/dialog/devicePlayer.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/genersoft/iot/vmp/utils/DateUtil.java
@@ -14,7 +14,7 @@
/**    
 * 全局时间工具类
 * @author swwheihei
 * @author lin
 */
public class DateUtil {
web_src/src/components/dialog/devicePlayer.vue
@@ -681,7 +681,11 @@
          this.$axios({
            method: 'get',
            url: `/api/playback/seek/${this.streamId }/` + Math.floor(this.seekTime * val / 100000)
          }).then(function (res) {});
          }).then( (res)=> {
            setTimeout(()=>{
              this.$refs.videoPlayer.play(this.videoUrl)
            }, 600)
          });
        }
    }