jstAPI.common
是jstAPI
的公共工具集, 包含属性遍历
,日期操作
,执行函数
等
API
- 属性相关
each
,eachKey
,eachValue
,eachFn
,keySet
,values
,clearObject
,copyProps
,clearProps
,toText
,singleJSON
- 数组相关
limit
,arrayToMap
,arrayMerge
,groupList
,sortNumber
,batchUpdate
,matchExpress
,filter
- 日期相关
dateFormat
,dateFormatNow
,dateParse
,getDateInfo
- 执行函数
invoke
,apply
,call
- 路径相关
getBaseUrl
,getRealUrl
,requestUrl
,fullUrl
,getRelativePath
,revisePath
- jQuery相关
uniqueDelegate
,hasClassInFirstParent
,getFirstParent
,getHtml
,scrollListener
,$countdown
,“
- 请求相关
queryParams
,arrayToParams
,download
- 本地数据
sessionHistory
,localStorageHistory
,cacheData
,sessionUser
,clearSession
,
- HashCode
hashCode
- 定时器
queue
,clearQueue
- 字符串解析为对象
parse
,parseObj
- 图片预览
readFileToImage
,$previceImage
- Loading相关
loading
,cover
- 非标表单相关
backfill