摘要: echarts 官网 https://echarts.apache.org/zh/option.html#dataZoom-slider.endValue 轴类型为category dataZoom 的startValue 与 endValue 的值 可以为 axis的数组的索引 从而 放弃使用 d 阅读全文
posted @ 2023-11-08 10:53 凉城i 阅读(571) 评论(0) 推荐(0) 编辑
摘要: 使用css样式 禁用 ::v-deep { .el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{ pointer-events: none; } } 阅读全文
posted @ 2023-03-30 14:27 凉城i 阅读(697) 评论(0) 推荐(0) 编辑
摘要: 1.标题样式、斜体样式不生效 解决:用以下样式替代 覆盖 ::v-deep h5, .h5 { font-size: 14px; } ::v-deep h4, .h4 { font-size: 16px; font-weight: bold; } ::v-deep h3, .h3 { font-si 阅读全文
posted @ 2023-03-30 14:21 凉城i 阅读(1978) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/72608fd9178e 阅读全文
posted @ 2022-02-25 11:25 凉城i 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 1.在 picker-options 属性中添加startTimed <el-form-item prop="startTime"> <el-date-picker v-model="investigationForm.startTime" format="yyyy-MM-dd" type="dat 阅读全文
posted @ 2020-12-21 17:39 凉城i 阅读(949) 评论(0) 推荐(1) 编辑
摘要: 1.新建plugins文件夹,文件夹下面新建print,新建Print.js 源码地址(https://github.com/xyl66/vuePlugs_printjs) // 打印类属性、方法定义 /* eslint-disable */ const Print = function (dom, 阅读全文
posted @ 2020-12-15 18:38 凉城i 阅读(3762) 评论(0) 推荐(0) 编辑
摘要: 1.默认写法 props: { rowClick: { type: Function, default: function() {} }, title: { type: String, default: "标题" }, display: { type: String, default: "table 阅读全文
posted @ 2020-12-01 10:48 凉城i 阅读(1811) 评论(0) 推荐(0) 编辑
摘要: 1.以Element 2.14.1 版本为例子(旧版指的是2.14.1之前的版本) 2.change-on-select (是否选择任意一级的选项) 旧版 此属性已取消 3.新版本属性为 checkStrictly 默认为false 是否严格的遵守父子节点不互相关联 :props="{ expand 阅读全文
posted @ 2020-11-19 16:49 凉城i 阅读(1505) 评论(0) 推荐(0) 编辑
摘要: 1.data中定义 timer: null 2.methods中写方法 this.timer = setInterval(function () { // 你的逻辑判断 }, 2000) 3.beforeDestroy 实例销毁之前调用 清除定时器 beforeDestroy() { clearIn 阅读全文
posted @ 2020-11-18 10:28 凉城i 阅读(874) 评论(2) 推荐(0) 编辑
摘要: 1.在components文件下创建相关组件如(breadcrumb.vue) <template> <div> <el-breadcrumb separator-class="el-icon-arrow-right"> <el-breadcrumb-item :to="{ path: '/home 阅读全文
posted @ 2020-11-16 15:14 凉城i 阅读(1632) 评论(0) 推荐(0) 编辑