详情页出错

chenlw_dev
guange 9 years ago
parent afd779f292
commit 23ec67b2eb

@ -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;
} }

Loading…
Cancel
Save