- 博客(6)
- 收藏
- 关注
原创 linux 安装 nginx
linux 安装 nginx步骤:1.安装依赖 pcre、openssl、zlibyum -y install gcc zlib zlib-devel pcre-devel openssl openssl-devel2.安装nginxcd /usr/src (进入目录)(将安装包拖过来)tar -xvf nginxName (解压)cd nginxName./configuremake && make install3.运行nginxcd usr/local/ngi
2022-03-12 22:13:44
3601
原创 Vue-router 路由重复点击报错 NavigationDuplicated: Avoided redundant navigation to current location 解决
Vue-router 路由重复点击报错 NavigationDuplicated: Avoided redundant navigation to current location 解决解决方法:在router.js中加入以下代码const originalPush = VueRouter.prototype.pushVueRouter.prototype.push = function push(location) { return originalPush.call(this, locati
2022-03-11 19:28:24
931
原创 Vue项目打包去除console.log
vue cli3 方法:安装插件 babel-plugin-transform-remove-consolenpm i babel-plugin-transform-remove-console --save-devbabel.config.js 修改为if (process.env.NODE_ENV === 'production') { plugins.push(["transform-remove-console", { "exclude": ["error", "warn"] }])
2022-02-23 15:17:12
422
原创 Sonar + PostgreSQL + Jenkins + SVN集成
Sonar代码扫描搭建笔记环境1.java 11(sonar 新版本需要java 11)2.SonarQube注意点:启动时,若有端口冲突,则至\sonar\conf路径下的sonar.properties解开sonar.web.port=该句的注释,并配置端口号数据库配置2019年4月10号,SonarQube发文称在7.9之后,所有的SonarQube的版本(CE、DE、EE和DCE)中将停止对MySQL的支持。建议所有的商业环境中使用PostgreSQL。故采用PostgreSQL下载
2022-01-18 18:51:17
546
原创 el-table 展开行图标替换或筛选图标替换
el-table 展开行图标替换或筛选图标替换展开行// 将el-table的展开图标替换为其他图标// 设置展开或者收起时,不发生旋转 .el-table__expand-icon{ -webkit-transform: rotate(0deg); transform: rotate(0deg); } .el-table__expand-icon .el-icon-arrow-right:before{ content: "\e723"; } .
2021-09-09 14:22:09
3691
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人