分类不能为空
This commit is contained in:
parent
3576cd334f
commit
ca9b8e4491
|
|
@ -29,7 +29,7 @@ var parsehtml = function(file, callback) {
|
|||
var folder, tag;
|
||||
folder = $(ee).prev();
|
||||
tag = folder.text().replace(/(^\s*)|(\s*$)/g, '').replace(/\s+/g, ' ');
|
||||
if (tag != "Bookmarks" && tag != "书签栏") {
|
||||
if (tag != "Bookmarks" && tag != "书签栏" && tag != "") {
|
||||
if (allTags.indexOf(tag) == -1) {
|
||||
allTags.push(tag);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
-- 用户信息表
|
||||
drop table if exists users;
|
||||
CREATE TABLE `users` (
|
||||
CREATE TABLE `users` (
|
||||
`id` int(11) NOT NULL AUTO_INCREMENT, -- id
|
||||
`username` varchar(255) DEFAULT NULL, -- 用户名
|
||||
`password` varchar(255) DEFAULT NULL, -- 密码
|
||||
|
|
|
|||
Loading…
Reference in New Issue