- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 js 所有空格替换成任意字符
1、在 replace() 方法里使用空格var a = "hello word word word word";varb= a.replace(" ", "哈");console.log(b); //hello哈 word word word word此种方法只能替换第一个空格,如果后面有多个不连续的空格则替换不了。2、在 replace() 方法里使用正...
2019-05-31 16:51:05 12213
原创 js数组对象去重方法
先给定一个数组对象:var arr = [{ key: '01', value: '天猫' }, { key: '02', value: '淘宝' }, { key: '03', value: '京东' },{ key: '04', value: '唯品会'...
2019-05-30 10:10:16 389
原创 java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more
1、报错信息:java.sql.SQLException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTim...
2019-05-16 15:25:31 393
原创 在CentOS 7 中输入ifconfig报command not found
新安装了CentOS 7 新版的Linux系统,发现不能用ifconfig这个命令查看ip,这里提供两种方法:1、更改你的配置,只能用 ip addr 这个命令查看到你的 ip地址,还是不能用ifconfig查看到你的ip地址,以下链接是详细方法。Linux中ifconfig和addr查看不到ip的解决方法2、安装两个工具,第一个是 provides 或者whatprovides (...
2019-05-07 15:26:32 325
原创 bootstrap selectpicker 选择框使用技巧及常见的一些方法
最近项目要用一个选择框,可模糊搜索,可全选,及取消全选的选择框,在各个选择框插件中遇到了selectpicker这个插件,觉得这个插件强大,看着也比较舒服,下面介绍一下它的一些使用方法。<!DOCTYPE html><html lang="en"><head> <meta charset="utf-8"> ...
2019-05-05 15:55:44 10215 1
erlang 23.1
2020-09-27
consul(windows和linux) 1.8.2.rar
2020-09-09
mybatis-generator 代码生成工具
2017-11-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人