// 写入某个key到缓存 export function setCache(key, value) { uni.setStorageSync(key, value) } // 获取某个key的缓存 export function getCache(key) { return uni.getStorageSync(key) }