eshengsky / iBlog

基于 Node.js 的开源个人博客系统,采用 Nuxt + Vue + TypeScript 技术栈。
https://skysun.name
MIT License
1.34k stars 393 forks source link

有个报错,请问怎么解决呢 #58

Closed Lyall-X closed 4 years ago

Lyall-X commented 4 years ago

TypeError: Cannot read property '_id' of null at category.getByAlias.then.cate (/home/liuyue/Blog/iBlog2/routes/blog.js:42:25) 点击标题报错

Lyall-X commented 4 years ago

以及 TypeError: Cannot read property 'IsActive' of null at Promise.all.then.results (/home/liuyue/Blog/iBlog2/routes/blog.js:134:21)

eshengsky commented 4 years ago

我本地无法复现。你是否手动修改过MongoDB的分类数据?