js 工具函数库
npm i --save left-f-tools
or
yarn add left-f-tools
import { Enum } from 'left-f-tools'
const type = new Enum([
[ 1, 'wait' ],
[ 2, 'run' ],
[ 3, 'stop' ]
])
-
asyncFormat
-
countMap
-
Enum
-
objFilter
-
branch
-
dateFormat
-
pipe
-
chunkByString
-
doNothing
-
joinUrlParams
-
toStyleStr