1
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
function helperGetHGSKeys (property) {
|
||||
// 以最快的方式判断数组,可忽略准确性
|
||||
return property ? (property.splice && property.join ? property : ('' + property).replace(/(\[\d+\])\.?/g,'$1.').replace(/\.$/, '').split('.')) : []
|
||||
}
|
||||
|
||||
module.exports = helperGetHGSKeys
|
||||
Reference in New Issue
Block a user