01 2021 档案

摘要:vue.config.js devServer: { host: "localhost", port: 8080, // 端口号 https: false, // https:{type:Boolean} open: true, //配置自动启动浏览器 // proxy: 'http://10.0. 阅读全文

posted @ 2021-01-26 17:00 凡凡0410 阅读(1056) 评论(0) 推荐(0) |

摘要:文档传送门 - https://resources.jointjs.com/docs/jointjs/v3.2/joint.html#layout 我是使用的vue,所以, 第一步:先安装 Dagre and Graphlib 依赖 npm install dagre npm install @da 阅读全文

posted @ 2021-01-20 15:11 凡凡0410 阅读(856) 评论(0) 推荐(0) |

摘要:let sixLists= [], threeLists = [] , twoList=[]; this_.nodeData.forEach((item,idx)=>{ if(idx==0||idx%6==0||(idx+1)%6 0){ sixLists.push(idx); }; if(idx% 阅读全文

posted @ 2021-01-20 11:50 凡凡0410 阅读(319) 评论(0) 推荐(0) |

摘要:var Link = joint.dia.Link.define('self.Link', { attrs: { line: { connection: true, stroke: 'gray', strokeWidth: 2, pointerEvents: 'none', targetMarker 阅读全文

posted @ 2021-01-13 14:19 凡凡0410 阅读(475) 评论(0) 推荐(0) |

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3