摘要: import Vue from 'vue' import VueApollo from 'vue-apollo' import { Loading } from 'element-ui' import { ApolloClient } from 'apollo-client' import { Ap 阅读全文
posted @ 2021-05-20 15:49 yangAL 阅读(215) 评论(0) 推荐(0) 编辑
摘要: getImageAndVideoURL (con) { let obj = {} const imgReg = /<img.*?(?:>|\/>)/gi // 匹配图片中的img标签 const videoReg = /<video(([\s\S])*?)<\/video>/gi // 匹配图片中的 阅读全文
posted @ 2021-05-20 15:17 yangAL 阅读(1196) 评论(0) 推荐(0) 编辑
摘要: 安装: npm install vue-video-player --save 引入 1:全局引入 import VideoPlayer from 'vue-video-player' import 'vue-video-player/src/custom-theme.css' import 'vi 阅读全文
posted @ 2021-05-20 14:21 yangAL 阅读(516) 评论(0) 推荐(0) 编辑