摘要: initWebSocket() { //初始化weosocket(必须) // if(!this.createTaskId || !this.headTaskId){ // return // } if (this.protocolHost == "video.chci.cn") { this.pr 阅读全文
posted @ 2023-06-20 10:26 诡道也 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 将博客搬至CSDN 阅读全文
posted @ 2023-02-13 18:01 诡道也 阅读(2) 评论(0) 推荐(0) 编辑
摘要: helloworld var code = "03c7b8c5-a1a0-41af-906c-b959193514f6" 阅读全文
posted @ 2023-02-08 17:47 诡道也 阅读(10) 评论(0) 推荐(0) 编辑
摘要: <template> <el-col id="navMenu"> <el-menu :default-active="defaultActive" background-color="#0b172e" text-color="#A7B1C2" active-text-color="#ffffff" 阅读全文
posted @ 2023-02-08 09:27 诡道也 阅读(37) 评论(0) 推荐(0) 编辑
摘要: <template> <div class="navMenu"> <template v-for="menu in navMenus"> <el-submenu :key="menu.path" :index="menu.path" v-if="menu.children.length > 0" c 阅读全文
posted @ 2023-02-08 09:27 诡道也 阅读(19) 评论(0) 推荐(0) 编辑
摘要: <template> <!-- 大窗口 --> <div class="liveVideos"> <video id="camaraVideo" width="100%" height="100%" ref="videoing" class="video" autoplay="autoplay" m 阅读全文
posted @ 2023-02-07 11:09 诡道也 阅读(78) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/vivotech/p/17090093.html 阅读全文
posted @ 2023-02-07 10:29 诡道也 阅读(4) 评论(0) 推荐(0) 编辑
摘要: document.addEventListener('visibilitychange', () => { if(document.hidden) { console.log('页面离开') } else { console.log('页面进入') } }) 阅读全文
posted @ 2023-02-07 10:17 诡道也 阅读(8) 评论(0) 推荐(0) 编辑
摘要: legend: { show: true, // 是否显示图例 type: 'category', // 'plain':普通图例。缺省就是普通图例; 'scroll':可滚动翻页的图例。当图例数量较多时可以使用 z: 2, // 组件的所有图形的z值。控制图形的前后顺序。z值小的图形会被z值大的图 阅读全文
posted @ 2023-01-07 18:44 诡道也 阅读(635) 评论(0) 推荐(0) 编辑
摘要: for (const [key, value] of Object.entries(target)) { // 需px单位基础样式 if (needUnit.includes(key)) { result[key] = unit(value) continue } // 组件背景色 if (key 阅读全文
posted @ 2022-11-14 11:03 诡道也 阅读(13) 评论(0) 推荐(0) 编辑