组件全部代码<template><div class="goods"><!--左侧区域--><div class="menu-wrapper" ref="left"><ul class="menu"><li class="menu-item border-bottom":class="{current:currentIndex===index}"v-for="(item,index) in dataLlist.goods":key="index"@click="selectIndex(index,$event)"ref="menuList"><div class="text"><goods-icon v-show="item.type>0" :index="item.type" class="text-ico"></goods-icon>{{item.name}}</d...
1.准备工作。 1.首先准备安装Vue及Vue-CLI $ npm install vue $ npm install -g @vue/cli2.其次下载Tomcat tomcat.apache.org/index.html 任选一个版本,我测试用的是macOS,所以下载了第二个压缩包? 下载到本地后,解压缩,并且将解压缩后的文件夹复制到以下路径下,其中电脑名称就是你的用户名称。 /Users/{电脑名称}/Library ,并且重命名为ApacheTomcat,这里要提一下,在这个文件夹下有个webapps,双击进去,会有很多文件,不...
项目中需要将ES数据库表字段和其他库表字段做映射,研究了下jsPlumb,做一下记录; 1: yarn add jsPlumb 2: import {jsPlumb} from ‘jsplumb’ 3: ` created(){ this.plumbIns = jsPlumb.getInstance({Container:"plumbContainer", //选择器idConnectionsDetachable: false, // 再次拖动时不取消选择maxConnections: 1, uniqueEndpoint:true,Endpoint: "Dot",EndpointStyle: { radius: 7, fill: "#fff", outlineRadius: 5, outl...