摘要:
el-date-picker月选择器获取选择的日期范围 <el-date-picker v-model="monthValue" type="month" placeholder="选择月" value-format="yyyy-MM-dd" @change="monthChange" > </el 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(206)
评论(0)
推荐(0)
摘要:
el-date-picker 日期组件切换的坑 问题描述: 问题1. 根据类型切换需要的时间选择器组件(搜索栏是一个form组件,里面有input、select、picker等,在使用的页面里传入指定的类型就能展示)第一次按顺序切换日常发,周常发,月常发是没问题的,但是当第二次选择周常发时,选择器无 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(248)
评论(0)
推荐(0)
摘要:
echarts自定义x轴和tooltip数据格式 x轴和y轴数据格式如下 x: [0, 1, 2, 3, 4, 5, 6, ....., 23], y: [2.5, 3.1, 3.2, 2.2, 2.3, 3.1, 3.1, null, null, null, .... ,null] // 接口返回 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(150)
评论(0)
推荐(0)
摘要:
echarts 折线组件 echarts 折线组件 <template> <div class="lineChartsTemplate" :id="chartsId"></div> </template> <script> export default { name: "lineChartsTemp 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(35)
评论(0)
推荐(0)
摘要:
echarts设置tooltip遇到值为0不展示的问题(已解决) 遇到值为0时 tooltip: { trigger: "axis", extraCssText: "z-index:3", axisPointer: { type: "shadow", // 默认为直线,可选为:'line' | 's 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(439)
评论(0)
推荐(0)
摘要:
echarts设置tooltip的层级 tooltip: { trigger: "axis", extraCssText: 'z-index:3', // 修改层级 borderColor: "rgba(0, 170, 255)", }, 完整的option示例如下: option = { tool 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(282)
评论(0)
推荐(0)
摘要:
div 中添加 el-loading(局部 loading 的使用) 效果:在 div 中实现 el-loading https://img-blog.csdnimg.cn/c2870e74bd344b06ad1ccb0844b8e8ce.png <div class="content-main"> 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(181)
评论(0)
推荐(0)
摘要:
css实现el-select右侧箭头向上向下动画 <div class="chooseTag-tip"> <i :class="['el-icon-arrow-up', tipFlag ? 'chooseTag-tip-up' : 'chooseTag-tip-down']"></i> </div> 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(68)
评论(0)
推荐(0)
摘要:
Access to image at ... from origin ... has been blocked 图片跨域 Access to image at 'http://127.0.0.1:3000/api/getImg?url=/uploads/file/20240421/file-1713 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(60)
评论(0)
推荐(0)
摘要:
打造自己的前端组件库 新建vue项目(sass + js + vue2) vue create yt-ui 修改文件目录(如下) 修改: 1.src 更名 examples; 2. src/components移动到项目最外层;3.vue.config.js更改入口文件 // vue.config. 阅读全文
posted @ 2024-08-05 10:34
毛三仙
阅读(15)
评论(0)
推荐(0)

浙公网安备 33010602011771号