摘要:
去掉console.log,以及开启gzip const CompressionPlugin = require('compression-webpack-plugin');//引入gzip压缩插件 configureWebpack: (config) => { if (process.env.NO 阅读全文
摘要:
参考: https://www.cnblogs.com/qwert1/p/8909455.html https://blog.csdn.net/qq_42984640/article/details/89923797 https://blog.csdn.net/qq_42394457/article 阅读全文
摘要:
windows10查看某个进程: netstat -ano | findstr 端口号 杀死某个进程: taskkill /f /pid 进程号 linux查看占用端口的进程: netstat -apn | grep 进程号 netstat -nltp | grep 进程号 杀死进程: kill - 阅读全文
摘要:
参考: https://www.cnblogs.com/wy120/p/10179901.html https://blog.csdn.net/sinat_36146776/article/details/89918302 我的习惯是,分离js和css,html写在vue文件中 js: // -- 阅读全文
摘要:
参考; https://github.com/PanJiaChen/vue-element-admin/blob/master/src/views/table/dynamic-table/components/FixedThead.vue 一、制作下拉多选框 <el-dropdown :hide-o 阅读全文
摘要:
参考: https://element.eleme.cn/#/zh-CN/component/dropdown <el-row> <el-button-group style="margin-bottom:20px"> <el-button size="small" type="primary" i 阅读全文
摘要:
一、编写一个配置类,并且注册CorsFilter: 注意允许跨域的域名不要写错 @Configuration public class ZysuyuanCorsConfiguration { @Bean public CorsFilter corsFilter() { // 初始化cors配置对象 阅读全文
摘要:
一、导入依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <!-- 这个是剔除掉自带的 tomcat部署的--> <exclusio 阅读全文
摘要:
参考: https://blog.csdn.net/qq_24076135/article/details/85212081 https://www.jianshu.com/p/036d31ae77d3 一、编写分页实体类 /** * 此类用于返回分页结果集 * @param <T> */ publ 阅读全文
摘要:
参考:https://www.jb51.net/article/136432.htm 一、查看内存 free -h free -m 二、解决方法: 1、增加swap交换空间解决问题: dd if=/dev/zero of=/swapfile bs=1M count=1024 mkswap /swap 阅读全文