Initial commit: queue workspace

Made-with: Cursor
This commit is contained in:
apple
2026-03-21 02:55:24 +08:00
commit 78de918c37
12388 changed files with 1840126 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
export function onNetworkStatusChange(onlineFun, offlineFun) {
uni.onNetworkStatusChange(res => {
if(res.networkType !== 'none') {
onlineFun && onlineFun(res);
} else{
offlineFun && offlineFun(res);
}
});
}