Skip to main content
版本:v3+

hmFS.SysProGetInt(key)

获取临时存储的整数,系统重启将清除

类型​

(key: string) => result

参数​

key​

说明必填类型默认值
键字符串是string-

result​

说明类型
存储的整数number

用法​

hmFS.SysProSetInt('js_test_int', 100)
console.log(hmFS.SysProGetInt('js_test_int'))