上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 70 下一页
video.js gitHub地址:https://github.com/videojs/video.js 好文链接:https://www.jianshu.com/p/16fa00a1ca8e 使用技巧:https://www.awaimai.com/2053.html flv.js gitHub Read More
posted @ 2020-04-23 22:35 古墩古墩 Views(2505) Comments(0) Diggs(0)
文档地址:https://cloud.tencent.com/document/product/881/20207 首先需要一个dom容器: <div id="id_test_video" style="width:100%; height:auto;" ></div> 初始化播放器: // TCP Read More
posted @ 2020-04-23 17:04 古墩古墩 Views(6042) Comments(0) Diggs(0)
百度统计注册地址:https://tongji.baidu.com/sc-web/ 在script标签中加入此脚本: // 百度统计 var _hmt=_hmt||[]; (function(){ var hm=document.createElement("script"); hm.src="ht Read More
posted @ 2020-04-20 09:39 古墩古墩 Views(570) Comments(0) Diggs(0)
直接进入正题 文档地址:https://developers.weixin.qq.com/doc/offiaccount/OA_Web_Apps/Wechat_webpage_authorization.html 目前还未完成网页授权,不过已经遇到问题了,借此记录一下问题以及解决方法 目前我知道的是 Read More
posted @ 2020-04-18 21:50 古墩古墩 Views(3423) Comments(0) Diggs(0)
js兼容写法“”可以判断当前页面是否可见,是否是在后台运行: hidden(state) { if (typeof document.hasFocus !== 'function') { return document.hidden } return !document.hasFocus() } 。 Read More
posted @ 2020-04-15 14:27 古墩古墩 Views(2311) Comments(0) Diggs(0)
最近在看他人vue项目中发现别人使用了$bus,感觉使用很方便 查了查,bus主要是解决无关系组件之间的交互问题,当然父子组件我们可以通过自定义事件来交互(子传父) 另外一种解决无关系组件间的交互问题就是使用vuex,也很方便。 那么bus最主要的是无关系组件间的交互响应,相当于父子组件的自定义事件 Read More
posted @ 2020-04-15 14:09 古墩古墩 Views(15009) Comments(0) Diggs(1)
近端时间有需求完成一个即时通讯的需求,选择了腾讯的TIM及时通讯服务 TIM即时通讯。文档地址:https://cloud.tencent.com/document/product/269/36887 常规TIM集成文档:https://cloud.tencent.com/document/prod Read More
posted @ 2020-04-14 10:09 古墩古墩 Views(9147) Comments(1) Diggs(0)
chainWebpack: config => { config.resolve.alias .set('@', resolve('src')) .set('tim', resolve('src/tim.js')) }, 。 Read More
posted @ 2020-04-14 09:56 古墩古墩 Views(3531) Comments(0) Diggs(0)
首先用 管理员身份 打开powershell 右键 以管理员身份运行 然后在命令行输入: set-ExecutionPolicy RemoteSigned 然后输入:A 即可 。 Read More
posted @ 2020-04-12 16:31 古墩古墩 Views(3110) Comments(1) Diggs(1)
文档地址:https://element.eleme.cn/#/zh-CN/component/tree <el-tree :data="data" :props="defaultProps" @node-click="handleNodeClick"> <span class="custom-tr Read More
posted @ 2020-04-08 22:13 古墩古墩 Views(3018) Comments(0) Diggs(0)
上一页 1 ··· 28 29 30 31 32 33 34 35 36 ··· 70 下一页