From b1709958e4e58aaf916e6eab66ba0ed12b3dff1c Mon Sep 17 00:00:00 2001 From: mol Date: Thu, 14 Dec 2023 13:39:51 +0800 Subject: [PATCH] test --- plugins/cook/db/index.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/plugins/cook/db/index.js b/plugins/cook/db/index.js index d0d7ef1..9ffc585 100644 --- a/plugins/cook/db/index.js +++ b/plugins/cook/db/index.js @@ -17,7 +17,6 @@ function parser() { } logger('食谱加载成功'); const keys = data.shift() - console.log(keys) recipeData = data.map(d => { const res = {} keys.forEach((key, index) => { @@ -42,6 +41,6 @@ export default async function getDb() { } } -getDb().then((res) => { - console.log(recipeData) -}) +// getDb().then((res) => { +// console.log(recipeData) +// })