فهرست منبع

1.修改UWA Hang Tag按钮在未登陆状态也能显示。

Pen Li 7 سال پیش
والد
کامیت
7146de4781
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      RedAnt ERP Mobile/common/Functions/modelDetail/DetailViewController.m

+ 3 - 3
RedAnt ERP Mobile/common/Functions/modelDetail/DetailViewController.m

@@ -447,11 +447,11 @@ self.isrefreshing=false;
     
     self.navigationItem.leftBarButtonItem = backButton;
     
-    AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
+//    AppDelegate *appDelegate = (AppDelegate *)[UIApplication sharedApplication].delegate;
     
 #ifdef BUILD_UWAVER
     
-    if (appDelegate.bLogin) {
+//    if (appDelegate.bLogin) {
 //        UIBarButtonItem *hangTagItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemBookmarks target:self action:@selector(hanTagBtnClick:)];
         
         UIBarButtonItem *hangTagItem = [[UIBarButtonItem alloc] initWithImage:[[UIImage imageNamed:@"btn_print_order"] imageWithRenderingMode:UIImageRenderingModeAutomatic]
@@ -461,7 +461,7 @@ self.isrefreshing=false;
         
         
         self.navigationItem.rightBarButtonItem = hangTagItem;
-    }
+//    }
 #endif
     
 }