filecache

This commit is contained in:
cansnow
2025-12-27 07:08:30 +08:00
parent 974d149d25
commit 09c7889525
54 changed files with 10485 additions and 164 deletions
+2 -1
View File
@@ -34,10 +34,11 @@ export const getEl = (el) => {
};
export const getDbDir = () => {
const userID = uni.getStorageSync("IMUserID");
return new Promise((resolve, reject) => {
plus.io.requestFileSystem(plus.io.PRIVATE_DOC, (fs) => {
fs.root.getDirectory(
"user", {
userID ? userID : "user", {
create: true,
},
(entry) => {