Skip to content

Commit 6bfab67

Browse files
committed
[Bugfix]修正欢迎界面关闭员工登录框时也进入点菜界面的问题
1 parent 291b7b0 commit 6bfab67

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

DianXiaoEr-Menu-iOS/ViewControllers/DXEOpenViewController.m

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ - (void)viewWillDisappear:(BOOL)animated
5353
- (void)enterMainPage
5454
{
5555
[UIView animateWithDuration:0.3
56+
delay:0.3
57+
options:0
5658
animations:^{
5759
self.view.alpha = 0.0;
5860
}
@@ -85,9 +87,7 @@ - (IBAction)onEnterButtonClicked:(id)sender
8587
coverOption:CRModalOptionCoverDark
8688
tapOutsideToDismiss:NO
8789
animated:YES
88-
completion:^{
89-
[self enterMainPage];
90-
}];
90+
completion:nil];
9191
}
9292

9393
- (IBAction)onChoosingTableButtonClicked:(id)sender
@@ -100,6 +100,7 @@ - (IBAction)onChoosingTableButtonClicked:(id)sender
100100
- (void)onLoginButtonClickedInLoginView:(DXELoginView *)loginView
101101
{
102102
[CRModal dismiss];
103+
[self enterMainPage];
103104
}
104105

105106
@end

0 commit comments

Comments
 (0)