初始化

This commit is contained in:
魏啾
2024-03-21 15:33:26 +08:00
parent 179418e65f
commit 53afc38e76
3486 changed files with 792466 additions and 1 deletions

14
utils/useStroage.js Normal file
View File

@@ -0,0 +1,14 @@
export default {
get(key) {
return uni.getStorageSync(key)
},
set(key, value) {
uni.setStorageSync(key, value)
},
del(key) {
uni.removeStorageSync(key)
},
clear() {
uni.clearStorageSync()
}
}