【发布时间】:2019-06-20 08:09:06
【问题描述】:
我无法从 angularjs ad angular 2 更新此代码,感谢您的帮助
if (settings != null && settings.checkSubscriptionForVip === true) {
return this.user.hasVipAccess().then(function(hasVipAccess) {
hasVipAccess ? deferred.resolve() : deferred.reject("NO_VIP");
return;
});
} else {
deferred.resolve();
return;
}
【问题讨论】:
标签: angularjs angular ionic-framework