Procházet zdrojové kódy

1.修改NPD Model Detail重复加载图片。

Pen Li před 8 roky
rodič
revize
5fc9422aa3

binární
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/UserInterfaceState.xcuserstate


+ 0 - 12
RedAnt ERP Mobile/RedAnt ERP Mobile.xcworkspace/xcuserdata/macmini1.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -2,16 +2,4 @@
 <Bucket
    type = "0"
    version = "2.0">
-   <Breakpoints>
-      <BreakpointProxy
-         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
-         <BreakpointContent
-            shouldBeEnabled = "Yes"
-            ignoreCount = "0"
-            continueAfterRunningActions = "No"
-            scope = "0"
-            stopOnStyle = "0">
-         </BreakpointContent>
-      </BreakpointProxy>
-   </Breakpoints>
 </Bucket>

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

@@ -1430,7 +1430,7 @@ self.isrefreshing=false;
                         if([item_json[@"is_localfile"] boolValue])
                             img_data = [NSData dataWithContentsOfFile:img_url];
                         else
-                            [iSalesDB load_cached_img:file_name loadFrom:img_url];
+                            img_data = [iSalesDB load_cached_img:file_name loadFrom:img_url];
                     }
 
                     if(img_data!=nil)

+ 2 - 2
RedAnt ERP Mobile/iSales-NPD/config.h

@@ -11,7 +11,7 @@
 #define BUILD_NPD
 
 # ifdef DEBUG
-#define test_server
+//#define test_server
 # endif
 
 #define exception_switch 1
@@ -38,7 +38,7 @@
 #define LOCAL_URL_CUSTOMER_INFO_EDITOR @"customer_info_template"
 #define LOCAL_URL_CUSTOMER_INFO_EDIT @"customer_info_template_edit"
 
-//http://192.168.0.133:8080/site
+//http://12.196.120.217
 //http://192.168.0.133:8080/site
 #ifdef test_server