Comments (3)
CREATE TABLE fk_tag
(
id
int(10) unsigned NOT NULL AUTO_INCREMENT,
name
varchar(255) NOT NULL,
PRIMARY KEY (id
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
INSERT INTO fk_tag
(id
, name
) VALUES (1, 'QUC'), (2, 'JS'), (3, 'SDK'), (4, '文档'), (5, 'Markdown'), (6, '简明指南'), (7, '业务标识'), (8, '命名规范'), (9, '快速上手'), (10, '手机号'), (11, '用户邮箱'), (12, '登录状态'), (13, '用户信息'), (14, '密保信息'), (15, '初始化');
CREATE TABLE fk_post_tag
(
post_id
int(10) unsigned NOT NULL,
tag_id
int(10) unsigned NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT;
INSERT INTO fk_post_tag
(post_id
, tag_id
) VALUES (165, 1), (165, 2), (165, 3), (165, 4), (166, 5), (166, 6), (167, 7), (167, 8), (168, 9), (169, 10), (171, 11), (172, 12), (173, 13), (174, 14), (175, 15);
from firekylin.
难道是我打开方式不对?
[2015-11-26 19:28:32] [SQL] SELECT `post_id`,`tag_id`,`name` FROM `fk_post_tag` INNER JOIN `fk_tag` ON fk_post_tag.`tag_id`=fk_tag.`id` WHERE ( `post_id` IN (178,177,175,174,173,172,171,170,169,168) ) 2ms
[2015-11-26 19:28:32] [Error] TypeError: C:\firekylin\view\web\post_list.html:4
2|
3| <% var index = true; %>
>> 4| <div itemscope itemtype="http://schema.org/Blog">
5| <% list.forEach(function(post) { %>
6| <article class="post" itemprop="blogPost" itemscope itemtype="http://schema.org/BlogPosting"><% include inc/article.html %></article>
7| <% }) %>
Cannot read property 'length' of undefined
at eval (eval at <anonymous> (C:\firekylin\node_modules\ejs\lib\ejs.js:464:12), <anonymous>:246:20)
at eval (eval at <anonymous> (C:\firekylin\node_modules\ejs\lib\ejs.js:464:12), <anonymous>:272:9)
at eval (eval at <anonymous> (C:\firekylin\node_modules\ejs\lib\ejs.js:464:12), <anonymous>:370:9)
at Array.forEach (native)
at eval (eval at <anonymous> (C:\firekylin\node_modules\ejs\lib\ejs.js:464:12), <anonymous>:195:13)
at returnedFn (C:\firekylin\node_modules\ejs\lib\ejs.js:493:17)
at _default.run$ (C:\firekylin\node_modules\thinkjs\lib\adapter\template\ejs.js:60:76)
at tryCatch (C:\firekylin\node_modules\thinkjs\node_modules\babel-runtime\regenerator\runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (C:\firekylin\node_modules\thinkjs\node_modules\babel-runtime\regenerator\runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (C:\firekylin\node_modules\thinkjs\node_modules\babel-runtime\regenerator\runtime.js:
100:21)
[2015-11-26 19:28:32] [HTTP] GET /post 500 652ms
[2015-11-26 19:28:32] [SQL] SELECT * FROM `fk_category` 79ms
from firekylin.
已经更新~
from firekylin.
Related Issues (20)
- 目前还不支持Mysql 8.X HOT 1
- sitemap 问题 HOT 9
- 张博博客
- Gitalk评论集成认证更新方式 HOT 2
- 代码块不能按指定的格式高亮 HOT 1
- 请问一下这个项目可以部署到GitHub Pages上吗 HOT 7
- 如何在公安部备案号前加上备案图标 HOT 4
- 如何获取网站的所有文章的地址呢? HOT 2
- 请问哪里有更多的主题列表,或者有什么投稿渠道吗 HOT 5
- 分享一个自己写的主题 HOT 3
- TypeError: Cannot read property 'children' of undefined HOT 2
- RSS订阅路径错误导致404 HOT 4
- 文本编辑器能支持更多的输入形式吗 HOT 2
- [BUG]标题包含 markdown 代码语法时 TOC 链接错误
- 提一个可能不算bug的BUg HOT 2
- 主题管理,颜色设置,透明度调节条无法移动 HOT 1
- Hi buddy
- post cate lost.
- 请问现在适配vercel了么? HOT 2
- 主题编辑功能不可用 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firekylin.