关于页面错误

This commit is contained in:
易鹏飞
2016-05-23 17:39:00 +08:00
parent 752b618c27
commit 8b9793a928
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@@ -1,2 +1,5 @@
node_modules/
*.log
public/libs
.idea/
.gitignore

View File

@@ -351,7 +351,7 @@ router.get('/aboutmanage', function (req, res, next) {
if (err) {
cb(err);
} else {
cb(null, about);
cb(null, settings);
}
});
}
@@ -361,8 +361,8 @@ router.get('/aboutmanage', function (req, res, next) {
if (err) {
next(err);
} else {
settings = results[0];
about = results[1];
about = results[0];
settings = results[1];
res.render('admin/aboutmanage', {
title: settings['SiteName'] + ' - 关于管理',
about: about,