获取视频时长
1 | getVideoDuration(file: File) { |
VueRouter
解决多次点击报错问题
1 | const originalPush = Router.prototype.push; |
重置默认路由
1 | const router = new Router({ |
对象过滤空内容
1 | type FilterEmpty = ( |
base64转Blob对象
1 | const convertBase64UrlToBlob = ( |
判断是否pc
1 | const isPc = () => { |