表盘 APIhmFS 文件系统模块SysProSetInt版本:v3On this pagehmFS.SysProSetInt(key, val)存储临时整数,系统重启将清除 类型 (key: string, val: number) => result 参数 参数说明必填类型默认值key键字符串是string-val存储的整数是number- result 说明类型操作结果,0 表示成功number 用法 hmFS.SysProSetInt('js_test_int', 100)console.log(hmFS.SysProGetInt('js_test_int'))