Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/CoderOpen/waimai
/ set
Function
set
front/utils/storage.js:45–52 ·
view source on GitHub ↗
(k, v)
Source
from the content-addressed store, hash-verified
43
}
44
45
function
set(k, v) {
46
try {
47
uni.setStorageSync(k, v);
48
} catch (e) {
49
// error
50
}
51
return
;
52
}
53
54
function
get(k) {
55
try {
Callers
1
storage.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected