详情页出错

This commit is contained in:
guange 2016-04-05 17:23:36 +08:00
parent afd779f292
commit 23ec67b2eb
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies){
} }
var getOpenId = function(cb) { var getOpenId = function(cb) {
if (typeof _openid !== 'undefined' || _openid.length > 0) { if (typeof _openid !== 'undefined' && _openid.length > 0) {
cb(_openid); cb(_openid);
return; return;
} }