Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CoderOpen/waimai
/ nextTick
Function
nextTick
front/wxcomponents/vant/common/utils.js:14–18 ·
view source on GitHub ↗
(fn)
Source
from the content-addressed store, hash-verified
12
return
Math.min(Math.max(num, min), max);
13
}
14
export
function
nextTick(fn) {
15
setTimeout(() => {
16
fn();
17
}, 1000 / 30);
18
}
19
let
systemInfo = null;
20
export
function
getSystemInfoSync() {
21
if
(systemInfo == null) {
Callers
nothing calls this directly
Calls
1
fn
Function · 0.85
Tested by
no test coverage detected