Vue
文章平均质量分 57
六六的小帅
这个作者很懒,什么都没留下…
展开
-
vue2开发工具合集
文章内容关于:store2包的使用;其它处理本地存储的库;vuex开发过程中错误处理;vue-devtools调试插件的安装原创 2023-03-14 16:05:51 · 668 阅读 · 0 评论 -
浏览器播放rtsp视频流解决方案
解决获取到海康摄像头的rtsp视频流,在浏览器播放问题。采用ffmpeg+nginx+video.js解决方案资源下载ffmpeg百度云资源:链接:https://pan.baidu.com/s/15pq8ErLZg9UcOgjqTkJZtw 提取码:8kyg 带有rtmp模块的nginx百度云资源:链接:https://pan.baidu.com/s/1bxiOz10DvxLclGogCIfK8A 提取码:x44v配置使用把ffmpeg的 /bin 目录添加到用户环境变量中。...原创 2021-11-04 20:45:41 · 4409 阅读 · 2 评论 -
<iframe>重载方法
解决方法方法1 document.getElementById('iframeId').contentWindow.location.reload(true); 方法2 document.getElementById('iframeId').src=url; 方法3 $("#iframeId").attr('src', url); 遇到的问题如果使用方法1,存在跨域问题的话,会出现Error in v-on handler: "Error: Permission..原创 2021-10-28 15:59:07 · 5572 阅读 · 0 评论 -
vue.js中点击按钮跳转到链接地址并打开新页面(不传递参数)
在本页面打开链接 <template> <div> <el-button @click="handle(scope.row.url)">打印</el-button> </div></template><script> handle(url) { window.location.href = 'url' }</script> 在新页面.原创 2020-08-05 11:44:49 · 12779 阅读 · 4 评论 -
Vue使用v-html渲染数据时修改样式
通过在网上查阅资料主要有三种解决方法:1. 定义一个class在<style>标签中使用深度选择器 >>>指向想要改变样式的元素,这里以改变图片样式为例,测试可用。(也可以尝试使用 width:100% !important)<div class="content" v-html="item.content"></div><style scoped>.content >>> img { width:原创 2020-06-16 18:22:47 · 1757 阅读 · 0 评论