Steven 6 months ago
parent
commit
04c2df37b0

+ 1 - 1
KulexiuForStudent/KulexiuForStudent.xcodeproj/xcshareddata/xcschemes/KulexiuForStudent.xcscheme

@@ -92,7 +92,7 @@
       buildConfiguration = "Debug">
    </AnalyzeAction>
    <ArchiveAction
-      buildConfiguration = "TEST"
+      buildConfiguration = "Release"
       revealArchiveInOrganizer = "YES">
    </ArchiveAction>
 </Scheme>

+ 1 - 0
KulexiuForStudent/KulexiuForStudent/Common/Base/LoadingManager/KSCustomLoadingView.m

@@ -61,6 +61,7 @@
 - (IBAction)cancelAction:(id)sender {
     if (self.cancelBlock) {
         self.cancelBlock();
+        self.cancelBlock = nil;
     }
 }
 

+ 5 - 1
KulexiuForStudent/KulexiuForStudent/Module/Mine/Feedback/Controller/FeedbackViewController.m

@@ -118,7 +118,7 @@
     MJWeakSelf;
     self.picker = [[KSChoosePicker alloc] initWithTitle:@"" sourceData:self.typeNameArray lastChooseIndex:self.chooseIndex sureButtonColor:CLIENT_THEMECOLOR chooseReturnWithBlock:^(NSString * _Nonnull returnValue, NSInteger chooseIndex) {
         weakSelf.chooseIndex = chooseIndex;
-        weakSelf.feedbackType = self.typeArray[chooseIndex];
+        weakSelf.feedbackType = weakSelf.typeArray[chooseIndex];
         [weakSelf.bodyView configFeedbackType:returnValue];
     } cancel:^{
         
@@ -166,6 +166,7 @@
     [LOADING_MANAGER removeCustomLoading];
 }
 
+
 - (void)submitWithPhone:(NSString *)phone suggestion:(NSString *)suggession {
     
     if ([NSString isEmptyString:self.feedbackType]) {
@@ -422,6 +423,9 @@
     }
     return _imageAsset;
 }
+- (void)dealloc {
+    NSLog(@"------");
+}
 /*
 #pragma mark - Navigation