1 2 3 4 5
摘要: 记录一下前端优化手段,传送门:https://blog.csdn.net/m0_51060602/article/details/123324547 一、减少http请求数 1. 合并图片:当图片较多时,像精灵图,雪碧图可以合并为一张大图,从而减少http请求数。经常变化的图片可能不太合适,变化相对 阅读全文 »
posted @ 2022-07-23 20:43 $alute 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 原地址传送门: https://blog.csdn.net/m0_66083041/article/details/123860090 阅读全文 »
posted @ 2022-07-23 20:27 $alute 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Vuex的辅助函数非常香,减少代码量 一共包含四个:mapState、mapGetters、mapActions、mapMutations 1.mapState 获取数据 import { mapState} from 'vuex' computed: { ...mapState(['data']) 阅读全文 »
posted @ 2022-07-14 10:41 $alute 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 附原文地址:https://blog.csdn.net/uloong9/article/details/120352454?spm=1001.2014.3001.5502 1.新建一个文件夹,并初始化本地库 git init 2.每次新的工程需要修改名字 git config --local use 阅读全文 »
posted @ 2022-07-14 10:24 $alute 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 记录:由于后端数据不能直接用于el-tree,在转换数据的时候树的层级不能确定于是采取递归解决 transformData(treeData) { let children = []; treeData.forEach((item, index) => { if (item.deepData && 阅读全文 »
posted @ 2022-07-14 09:57 $alute 阅读(461) 评论(0) 推荐(0) 编辑
摘要: 报错如下 Syntax Error: Error: PostCSS plugin tailwindcss requires PostCSS 8. Migration guide for end-users: https://github.com/postcss/postcss/wiki/PostCS 阅读全文 »
posted @ 2022-06-30 17:34 $alute 阅读(629) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://www.manongjc.com/detail/23-jwtqvnqpmlwriec.html 在引入阿里云oss对象存储后启动renrenfast后台会报以下错误 Error creating bean with name 'ossClient' defined in cl 阅读全文 »
posted @ 2022-01-15 14:40 $alute 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 在项目中碰到需要全局变量监听的问题,使用了vuex的响应式存储 在计算属性中返回某个状态 在A页面中通过某种方式更改了this.$store.state.notify.Statistics的值,这里我用vuex的commit【this.$store.commit(“Statistics”),data 阅读全文 »
posted @ 2022-01-02 23:16 $alute 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 转载自原文档地址:https://www.cnblogs.com/javalbb/p/12690862.html 卸载旧版本 sudo yum remove docker \ docker-client \ docker-client-latest \ docker-common \ docker- 阅读全文 »
posted @ 2021-12-30 00:40 $alute 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.初次下载后默认集群,startup.cmd编辑cluster修改为单机即可。 找到 set MODE=“cluster” 修改为 rem set MODE=“cluster” set MODE=“standalone” 2.nacos之Param ‘XXXX‘ is illegal, servi 阅读全文 »
posted @ 2021-12-21 00:34 $alute 阅读(63) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示