Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anyehttp/quantumult-x
/ readLocalData
Function
readLocalData
task/AppStore.js:67–71 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
65
66
// 读取本地数据
67
function
readLocalData() {
68
const
data = $.getdata(
'app_data'
) ||
'{}'
;
69
console.log(
'读取本地数据'
);
70
return
JSON.parse(data);
71
}
72
73
// 写入本地数据
74
function
writeLocalData(data) {
Callers
1
main
Function · 0.70
Calls
2
getdata
Method · 0.45
log
Method · 0.45
Tested by
no test coverage detected