随笔分类 -  vue笔记

摘要:<el-form-item label="验收时间" :label-width="formLabelWidths" prop="YS_TIME"> <el-date-picker v-model="ruleFormEnter.YS_TIME" type="datetime" placeholder= 阅读全文
posted @ 2024-07-25 16:46 _Lawrence 阅读(20) 评论(0) 推荐(0) 编辑
摘要:安装依赖 npm install vue-particles --save-dev main.js import VueParticles from 'vue-particles' Vue.use(VueParticles) template <vue-particles color="#409EF 阅读全文
posted @ 2023-04-04 18:26 _Lawrence 阅读(90) 评论(0) 推荐(0) 编辑
摘要:在使用webpack时 webpack 3.x 要使用 webpack-dev-server 2.x webpack 4.x 要使用 webpack-dev-server 3.x 查看webpack版本:webpack -v 阅读全文
posted @ 2022-09-30 16:12 _Lawrence 阅读(863) 评论(0) 推荐(0) 编辑
摘要:el-table标签内加入: :span-method="objectSpanMethod" 定义初始化要合并列的对象: data(){ return{ tarr1:[], tarr2:[], tarr3:[], tarr4:[], tarr5:[], tarr6:[], tarr7:[], pos 阅读全文
posted @ 2022-04-27 16:36 _Lawrence 阅读(261) 评论(0) 推荐(0) 编辑
摘要:index.html引入标签 <script type="text/javascript" src="http://webapi.amap.com/maps?v=1.4.4&key=你申请的key"></script> or <script type="text/javascript"> windo 阅读全文
posted @ 2022-01-20 09:50 _Lawrence 阅读(782) 评论(0) 推荐(0) 编辑
摘要:el-dialog标签内加入append-to-body即可。 阅读全文
posted @ 2022-01-19 16:26 _Lawrence 阅读(394) 评论(0) 推荐(1) 编辑
摘要:表格内数据: :show-overflow-tooltip="true": <el-table-column :show-overflow-tooltip="true" type="index" label="序号" width="60px"></el-table-column> 表头部分省略号: 阅读全文
posted @ 2022-01-11 19:34 _Lawrence 阅读(474) 评论(0) 推荐(0) 编辑
摘要:var option6 = { backgroundColor:'', color:["red","orange"], tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, grid: { left: '2%', right: 阅读全文
posted @ 2022-01-08 17:15 _Lawrence 阅读(544) 评论(0) 推荐(0) 编辑
摘要:1、添加依赖 npm install --save @riophae/vue-treeselect 示例代码 <template> <div id="app"> <treeselect v-model="value" :multiple="true" :options="options" /> </ 阅读全文
posted @ 2021-12-14 15:55 _Lawrence 阅读(777) 评论(0) 推荐(0) 编辑
摘要:npm cache clean --force删除项目中的node_modules文件夹npm install 阅读全文
posted @ 2021-11-25 17:42 _Lawrence 阅读(944) 评论(0) 推荐(0) 编辑
摘要:获取图片坐标: img标签中加入 @click='tapMap($event)' tapMap(e) { let x = e.layerX; let y = e.layerY; }, 和Graphics2D坐标不一致需要减去偏移量。 Graphics2D读取图片并画图: public void cr 阅读全文
posted @ 2021-10-28 17:17 _Lawrence 阅读(363) 评论(0) 推荐(0) 编辑
摘要:echarts.on('click',function(params){ alert(params.name) }) 阅读全文
posted @ 2021-09-29 09:31 _Lawrence 阅读(747) 评论(0) 推荐(0) 编辑
摘要:在el-select标签里添加: filterable @change.native="selectBlur" @blur.native="selectBlur" selectBlur(e){ this.$set(this.addForm,"fname",e.target.value) } 阅读全文
posted @ 2021-09-23 09:32 _Lawrence 阅读(186) 评论(0) 推荐(0) 编辑
摘要:折线线条颜色改变,在service里添加: itemStyle : { normal : { lineStyle:{ color:'#F56C6C' } } } 折线变曲线、在service里添加: smooth:true, 阅读全文
posted @ 2021-09-18 09:51 _Lawrence 阅读(139) 评论(0) 推荐(0) 编辑
摘要:splitLine:{ show:false }, 在xAxis和yAxis标签里添加上述代码即可 阅读全文
posted @ 2021-09-17 15:50 _Lawrence 阅读(418) 评论(0) 推荐(0) 编辑
摘要:itemStyle: { normal: { // 随机显示 color:function(d){return "#"+Math.floor(Math.random()*(256*256*256-1)).toString(16);} // 定制显示(按顺序) // color: function(p 阅读全文
posted @ 2021-09-17 15:19 _Lawrence 阅读(190) 评论(0) 推荐(0) 编辑
摘要:安装: npm uninstall sass-loader npm uninstall node-sass -D npm install sass-loader@7.3.1 --save-dev npm install node-sass@4.14.1 --save-dev build/webpac 阅读全文
posted @ 2021-07-14 15:45 _Lawrence 阅读(493) 评论(0) 推荐(0) 编辑
摘要:在series标签下添加:smooth: true true为曲线 flase为折线 阅读全文
posted @ 2021-07-08 09:17 _Lawrence 阅读(513) 评论(0) 推荐(0) 编辑
摘要:接口 @PostMapping("/getVideo") public readVideo<byte[]> getVideo(@RequestBody Map<String,Object> map, HttpServletResponse response) throws Exception { t 阅读全文
posted @ 2021-07-06 10:58 _Lawrence 阅读(230) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示