This commit is contained in:
@ -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)
|
||||
// })
|
||||
|
Reference in New Issue
Block a user