From ca9b8e4491755a2b2607bb93c01918117d0593f2 Mon Sep 17 00:00:00 2001 From: luchenqun Date: Mon, 1 May 2017 16:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E7=B1=BB=E4=B8=8D=E8=83=BD=E4=B8=BA?= =?UTF-8?q?=E7=A9=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/parse_html.js | 2 +- schema.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/parse_html.js b/common/parse_html.js index 951871f..2698aa7 100644 --- a/common/parse_html.js +++ b/common/parse_html.js @@ -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); } diff --git a/schema.sql b/schema.sql index 93a3db3..4cefb2c 100644 --- a/schema.sql +++ b/schema.sql @@ -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, -- 密码