上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: 第一种:VUE响应函数方式 复制动作使用的是VUE响应函数方式,这就为复制前控制数据提供了可能。 // 复制之前可以进行数据处理,点击事件 share(val) { //数据处理 this.message = this.message + ' ' + val let _that = this; th 阅读全文
posted @ 2022-07-26 08:59 DL·Coder 阅读(416) 评论(0) 推荐(0) 编辑
摘要: 传送门:https://cloud.tencent.com/developer/article/1598269 阅读全文
posted @ 2022-07-22 15:43 DL·Coder 阅读(6) 评论(0) 推荐(0) 编辑
摘要: vue2修饰符的使用传送门: https://www.cnblogs.com/xuqp 键盘对应数值传送门:https://blog.csdn.net/han_ying_ying/article/details/46636695 官网修饰符地址:https://cn.vuejs.org/v2/gui 阅读全文
posted @ 2022-07-22 14:10 DL·Coder 阅读(52) 评论(0) 推荐(0) 编辑
摘要: 为什么需要持久化处理? 如果不做初始化,刷新页面,vuex中代码重新执行,数据就会丢失。(把数据存储到本地) 持久化处理方法 1、安装 vuex-persistedstate 插件 或 vuex-along 传送门:https://juejin.cn/post/6918684399659646989 阅读全文
posted @ 2022-07-21 08:21 DL·Coder 阅读(142) 评论(0) 推荐(0) 编辑
摘要: jsplumb 使用网站 传送门:https://github.com/wangduanduan/jsplumb-chinese-tutorial jsplumb 项目 一个集合多种开源插件的项目 传送门:https://gitee.com/jeeagile/jeeagile 体验地址:https: 阅读全文
posted @ 2022-07-19 19:02 DL·Coder 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 推荐使用 vue-drag-resize jsuery.ui 也可以实现 记录一些好的使用博客 知乎文档传送门1:https://zhuanlan.zhihu.com/p/407509202 掘金文档传送门2:https://juejin.cn/post/6844903713430061063#he 阅读全文
posted @ 2022-07-19 18:35 DL·Coder 阅读(130) 评论(0) 推荐(0) 编辑
摘要: JS scale缩放 节点缩放 handleHorizontalTurn(node) { let dom = this.$refs[node.id][0].$el; dom.style["-webkit-transform"] = `scale(${this.zoomScale})`; dom.st 阅读全文
posted @ 2022-07-18 15:15 DL·Coder 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 右键事件 @contextmenu.prevent.native="openContextMenu($event, node)" 右键事件 //右键自定义菜单 openContextMenu(ev, node) { this.contextMenuLeft = ev.x - 320; this.co 阅读全文
posted @ 2022-07-15 15:19 DL·Coder 阅读(421) 评论(0) 推荐(0) 编辑
摘要: @import url(style.css) 和 @import url("style.css")是最优的选择,兼容的浏览器最多。从字节优化的角度来看@import url(style.css)最值得推荐。 @import url('../css/simulink.css'); @import '. 阅读全文
posted @ 2022-07-15 14:04 DL·Coder 阅读(25) 评论(0) 推荐(0) 编辑
摘要: mouseout:鼠标移出事件 contextmenu :弹出右键菜单 mouseover:鼠标移入事件 contextmenu :弹出右键菜单。 mousedown:当用户按下了鼠标还未弹起时触发。 mouseup:当用户释放鼠标按钮时触发。 mouseout:当鼠标移出某个元素上移动时触发。 m 阅读全文
posted @ 2022-07-14 16:23 DL·Coder 阅读(446) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页