...
|
...
|
@@ -28,7 +28,7 @@ const component = { |
|
|
page: 'index',
|
|
|
noLocalCSS: true,
|
|
|
head_ico: proData && proData.head_ico ? helpers.image(proData.head_ico, 200, 200) : '',
|
|
|
nickname: proData ? proData.nickname : '登录/注册'
|
|
|
nickname: Object.keys(proData).length ? proData.nickname : '登录/注册'
|
|
|
};
|
|
|
|
|
|
res.render('index', Object.assign(result, data[1]));
|
...
|
...
|
@@ -41,7 +41,6 @@ const component = { |
|
|
var gender = '';
|
|
|
|
|
|
data = data || {};
|
|
|
|
|
|
if (data.gender === '1') {
|
|
|
gender = 'men';
|
|
|
} else if (data.gender === '2') {
|
...
|
...
|
|