![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
01-前端
文章平均质量分 88
苦杏仁
心无旁骛!
展开
-
Tomcat启用Gzip压缩
Gzip(GNU zip)是一个GNU自由软件的文件压缩程序,也经常用来表示gzip这种文件格式。Gzip是一种网络上使用非常普遍的数据压缩格式,大流量的web站点常常使用Gzip压缩技术来减少网络文件传输时间,以增强用户体验。Tomcat5.0以后的版本提供了对输出内容进行Gzip压缩的支持,该功能默认是关闭的1、启用启用Gzip压缩,需要修改tomcat的配置文件 ${TOMCAT...转载 2019-12-23 17:33:36 · 4212 阅读 · 0 评论 -
JavaScript常用
1. javascript:window.history.back(); 返回2. isNaN 判断是不是数字 : 用法 isNaN(str) 如果是数字 返回false 否则 返回true 3.判断是否存在空格 if("test".match(/^\s*$/)){ // \s表示空格 * 表示0个或多个 ret原创 2017-07-08 21:26:58 · 162 阅读 · 0 评论 -
html-css 等常用
1.target属性值的含义: _blank:新建窗口 _self:相同窗口 _parent:父窗口 _top:首窗口2.用css设置图片设置最大高度和宽度 方法一 .resize img { width: expression(this.width > 680 ? 680 : true); max-width: 680px;原创 2017-07-08 21:34:26 · 168 阅读 · 0 评论 -
JSP EL 表达式 常用
1.判断是否为空 无信息! 其它原创 2017-07-08 21:38:25 · 278 阅读 · 0 评论 -
Jquery 常用
1.查找元素 $("input[type='checkbox'][name='rid']:checked").each(function(i){ var obj =$(this); });原创 2017-07-08 21:40:35 · 192 阅读 · 0 评论 -
AntDesign 开发-0
1.安装依赖npm install 执行一次即可 2.启动应用npm start3.打包npm run build (打包前请先将代理注释掉(如果有代理的话)-- config/config.js 【proxy】属性)该命令会生成 *.js、*.css、index.html 等静态文件 入口文件会构建到 dist 目录中,你可以自由部署到不同环境中进行引用。con...原创 2018-12-18 15:22:29 · 427 阅读 · 0 评论 -
AntDesign 开发-1 (简单列表页面-sy)
开发步骤1.添加菜单 router.config.js { path: '/testData', name: 'datatest', icon: 'form', routes: [ { path: '/testData/getList', name:...原创 2018-12-18 15:33:21 · 1335 阅读 · 0 评论