- 博客(4)
- 收藏
- 关注
原创 JavaScript微信号正则校验
1、可以使用6-20个子母、数字、下划线和减号 2、必须以字母开头(字母不区分大小写) 3、不能设置中文/^[a-zA-Z]([-_a-zA-Z0-9]{5,19})+$/
2018-07-31 16:00:58 7141
原创 element-ui的el-input回车刷新页面
解决办法: 在el-form添加@submit.native.prevent<el-form @submit.native.prevent></el-form>
2018-07-31 15:23:32 3392
原创 645. Set Mismatch
The set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to another number in the set, which results in repetition of o...
2018-07-08 14:16:11 211
原创 628. Maximum Product of Three Numbers
Given an integer array, find three numbers whose product is maximum and output the maximum product.Example 1:Input: [1,2,3]Output: 6Example 2:Input: [1,2,3,4]Output: 24Note: The lengt...
2018-07-01 17:43:14 228
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人