详情页出错
This commit is contained in:
parent
afd779f292
commit
23ec67b2eb
|
@ -10,7 +10,7 @@ app.factory('auth', function($http,$routeParams, $cookies){
|
|||
}
|
||||
|
||||
var getOpenId = function(cb) {
|
||||
if (typeof _openid !== 'undefined' || _openid.length > 0) {
|
||||
if (typeof _openid !== 'undefined' && _openid.length > 0) {
|
||||
cb(_openid);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue