Search
Preparing search index...
The search index is not available
onex-utils
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
onex-utils
localStorage/clean
Module localStorage/clean
Index
Functions
clean
Functions
clean
0.0.35
provide
clean
(
name
?:
string
)
:
boolean
将当前的localStorage全部进行清楚
remarks
清除当前localStorage中某一个key值 如果不传递key值,默认清空所有值
Parameters
Optional
name:
string
需要清除的key值名称
Returns
boolean
Exports
local
Storage/clean
clean
将当前的localStorage全部进行清楚
清除当前localStorage中某一个key值 如果不传递key值,默认清空所有值