- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 vue-video-player 调用this.$refs.VideoPlayer.player如何定义typescript类型
1.起因和需求 需要获取VideoPlayer实例来操作currentTime,代码如下: // demo.vue import {videoPlayer} from 'vue-video-player'; export default class demo extends Vue { get player() { return (this.$refs.VideoPlayer as VideoPlayer).player; } } 2. 异常报错 此时会提示异常:Canno
2021-05-21 17:32:23 1587 1
仿element-ui的jquery datepickerRange
原github地址:https://github.com/qiuyaofan/datepicker
在线demo:https://qiuyaofan.github.io/datepicker/
喜欢请在github star,谢谢
2018-09-10
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人