最新文章排序;
输入框底边样式;
目录背景色高度;
夜间模式按钮颜色;
移动端隐藏悬浮Darkmode按钮;
This commit is contained in:
tangly
2021-11-06 11:37:20 +08:00
parent 106dc9820d
commit 46495f9fe6
7 changed files with 24 additions and 22 deletions

View File

@@ -1,7 +1,11 @@
import { getCacheFromFile, setCacheToFile } from '@/lib/cache/local_file_cache'
import { getCacheFromMemory, setCacheToMemory } from '@/lib/cache/memory_cache'
import BLOG from '@/blog.config'
/**
* 为减少频繁接口请求notion数据将被缓存
* @param {*} key
* @returns
*/
export async function getDataFromCache (key) {
let dataFromCache
if (BLOG.isProd) {