上一页 1 2 3 4 5 6 7 ··· 11 下一页
摘要: 计算后的渐变方向如图所示 <div class="echarts" id="echat" ref="echat"></div> legendData:['小于1h', '1~6h', '6~24h', '24h以上'] total:733 getData() { const cos = Math.c 阅读全文
posted @ 2023-05-18 16:40 如意酱 阅读(905) 评论(1) 推荐(0) 编辑
摘要: <div class="aside-echarts lastPosition-wrap"> <div class="echarts" id="lastPositionEchat" ref="lastPositionEchat" :style="'height:' + height + 'px'" > 阅读全文
posted @ 2023-05-17 11:20 如意酱 阅读(369) 评论(0) 推荐(0) 编辑
摘要: 解决方案: 1.版本问题,main.js文件中, 5.0以下版本写:import echarts from 'echarts ' 5.0以上版本写: import * as echarts from ‘echarts 都要写:Vue.prototype.$echarts = echarts 2.删掉 阅读全文
posted @ 2023-03-31 09:06 如意酱 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 事情是这样的,我做了个tab切换不同table的功能,但是发现tab切换的时候,table的内容没有真的被销毁,内容变乱了。 后来发现只要加了key就可以顺利销毁了! 阅读全文
posted @ 2023-02-17 15:16 如意酱 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 想改啥样式就改成对应的编码 .el-cascader { .el-input__icon:before { content: '\e790'; } } .el-select { .el-select__caret:before { content: '\e790'; } } /e78f 向上的箭头 阅读全文
posted @ 2022-11-29 15:50 如意酱 阅读(1413) 评论(0) 推荐(0) 编辑
摘要: 效果:左右窗口移动到隐藏后,旁边的小窗口会随着移动贴边。 知识点:兄弟组件通信 1.新建Bus.js文件 Bus.js内容: import Vue from 'vue'; export default new Vue(); 2.引入文件 import Bus from "@/common/js/Bu 阅读全文
posted @ 2022-11-24 15:03 如意酱 阅读(47) 评论(0) 推荐(0) 编辑
摘要: 这张图很好,超级直观: 一点点个人理解: 防抖:比如设定一个2秒,你高频持续一顿操作后,只有2秒后你没有继续操作了,才执行要求,但凡2秒内你有操作,那么都从最后操作的2秒后再开始执行要求。 (立即执行版的就是高频操作之初立即执行一次要求,后续同上) 用于搜索引擎搜索、鼠标键盘操作、浏览器窗口调整大小 阅读全文
posted @ 2022-11-08 10:57 如意酱 阅读(31) 评论(0) 推荐(0) 编辑
摘要: table表格直接在表头进行前端搜索 <el-table :data="tableData.filter(data => !search||data.pointName.toLowerCase().includes(search.toLowerCase()))" > <el-table-column 阅读全文
posted @ 2022-11-03 11:41 如意酱 阅读(585) 评论(0) 推荐(0) 编辑
摘要: vue2版的 <!-- * @Description: 星空 * @Autor: 赵婧 * @Date: 2022-09-07 17:27:44 * @LastEditors: 赵婧 * @LastEditTime: 2022-10-21 10:17:58 --> <template> <div c 阅读全文
posted @ 2022-10-21 16:14 如意酱 阅读(344) 评论(0) 推荐(0) 编辑
摘要: 如果每次前端改页面都需要清浏览器内存才能看到更改, 那么,有可能是因为页面设置的缓存机制造成的。 在html中加入这段代码: //清除浏览器js缓存的方法 //不缓存 <meta http-equiv=”pragma” content=”no-cache” /> <meta http-equiv=” 阅读全文
posted @ 2022-10-17 10:52 如意酱 阅读(559) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 11 下一页