上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页
摘要: html2canvas.js下载地址:https://files.cnblogs.com/files/lyt520/html2canvas.min.js 阅读全文
posted @ 2021-07-12 10:12 yw3692582 阅读(542) 评论(0) 推荐(0)
摘要: 虽然不是c++的,但是代码一样,直接写进去 参考链接:https://ask.csdn.net/questions/1028768 参考链接:https://blog.csdn.net/weixin_45890564/article/details/107542796 阅读全文
posted @ 2021-07-09 11:18 yw3692582 阅读(440) 评论(0) 推荐(0)
摘要: 下载地址 vue.js: https://cdn.jsdelivr.net/npm/vue/dist/vue.js element.js: https://unpkg.com/element-ui@2.4.11/lib/index.js element.css: https://unpkg.com/ 阅读全文
posted @ 2021-07-07 18:51 yw3692582 阅读(2802) 评论(0) 推荐(0)
摘要: 在 main.js 中引入 在页面中使用: 文件下载地址:https://files.cnblogs.com/files/lyt520/Button.7z 阅读全文
posted @ 2021-07-07 12:56 yw3692582 阅读(341) 评论(0) 推荐(0)
摘要: 一、父组件调用子组件中的函数和数据 父组件中引入子组件 center-box: 首先给子组件加上 ref 属性 ‘center_box’ 1、调用子组件的函数: this.$refs['center_box'].test() 2、调用子组件中 data 的值:this.$refs['center_b 阅读全文
posted @ 2021-07-01 11:04 yw3692582 阅读(51) 评论(0) 推荐(0)
摘要: let blob = new Blob([res], { type:'image/svg+xml', }) let fileURL = URL.createObjectURL(blob) console.log(fileURL) ps: type要为image/svg+xml, 而不是text/xm 阅读全文
posted @ 2021-06-29 11:13 yw3692582 阅读(1130) 评论(0) 推荐(0)
摘要: let wsurl = 'ws://82.157.123.54:9010/ajaxchattest' let ws = null let weboscket_callback = null //获取 websocket 推送的数据 let websocketonmessage = e => { re 阅读全文
posted @ 2021-06-23 11:29 yw3692582 阅读(4542) 评论(0) 推荐(0)
摘要: 注意:在原有图标上更新数据时,需要用这种办法,不然会导致警告以及图表的点击事件重复触发。 或者也可以这样,能有效的防止重复触发点击事件。 let myChart = this.$echarts.getInstanceByDom(document.getElementById('map')) if ( 阅读全文
posted @ 2021-06-21 15:48 yw3692582 阅读(3161) 评论(0) 推荐(0)
摘要: 1 <template> 2 <div> 3 <el-button style="float:left;margin-left:20px;" type="primary" @click="add_dialogVisible = true" 4 >新增用户</el-button 5 > 6 <el-t 阅读全文
posted @ 2021-06-09 10:23 yw3692582 阅读(653) 评论(0) 推荐(0)
摘要: // 根组件/父路由 <template> <div class="layout"> <el-container> <el-header> 头部代码 </el-header> <el-main> <router-view v-if="isRouterAlive" /> </el-main> </el 阅读全文
posted @ 2021-06-09 10:18 yw3692582 阅读(42) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 23 下一页