Commit 009185bd authored by Achilles's avatar Achilles

切换用户时, 处理选择项目对话框逻辑不正确

parent 8cb176ee
...@@ -45,8 +45,6 @@ DEF_OUTLET( BeeUIButton, btnServiceApply ) ...@@ -45,8 +45,6 @@ DEF_OUTLET( BeeUIButton, btnServiceApply )
- (void)load - (void)load
{ {
VankeCommonModel *userModel = [VankeCommonModel sharedInstance];
authorizedOrgs = [userModel getAuthOrgs];
} }
- (void)unload - (void)unload
...@@ -100,6 +98,9 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnNotice, signal) { ...@@ -100,6 +98,9 @@ ON_SIGNAL3(VankeAffairsBoard_iPhone, btnNotice, signal) {
} }
ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBill, signal) { ON_SIGNAL3(VankeAffairsBoard_iPhone, btnBill, signal) {
VankeCommonModel *userModel = [VankeCommonModel sharedInstance];
authorizedOrgs = [userModel getAuthOrgs];
if (authorizedOrgs.count == 0) { if (authorizedOrgs.count == 0) {
return; return;
} else if (authorizedOrgs.count == 1) { } else if (authorizedOrgs.count == 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment