注释修改
This commit is contained in:
parent
1329194a39
commit
b2ac1fac9d
@ -1,7 +1,3 @@
|
|||||||
/**
|
|
||||||
* Created by jiachenpan on 16/11/18.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export function parseTime(time, cFormat) {
|
export function parseTime(time, cFormat) {
|
||||||
if (arguments.length === 0) {
|
if (arguments.length === 0) {
|
||||||
return null
|
return null
|
||||||
|
|||||||
@ -1,7 +1,3 @@
|
|||||||
/**
|
|
||||||
* Created by jiachenpan on 16/11/18.
|
|
||||||
*/
|
|
||||||
|
|
||||||
export function isvalidUsername(str) {
|
export function isvalidUsername(str) {
|
||||||
const valid_map = ['admin', 'test']
|
const valid_map = ['admin', 'test']
|
||||||
return valid_map.indexOf(str.trim()) >= 0
|
return valid_map.indexOf(str.trim()) >= 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user