Browse Source

更改openPage、openTemplate方法中的BOOL类型参数为NSNumber类型

liufl5 4 years ago
parent
commit
1a5a54f55d

BIN
IPUMobileFunc/IPUMobileFunc.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 2
IPUMobileFunc/IPUMobileFunc/IPUMobileUIPlugin.h

@ -56,13 +56,13 @@
56 56
57 57
- (void)openTemplate:(NSString *)pageAction
58 58
            withData:(IPUDataMap *)data
59
              isCurr:(BOOL)isCurr;
59
              isCurr:(NSNumber *)isCurr;
60 60
61 61
- (void)openPage:(NSArray *)param;
62 62
63 63
- (void)openPage:(NSString *)pageAction
64 64
            data:(NSString *)dataParam
65
      isCurrView:(BOOL)isCurr;
65
      isCurrView:(NSNumber *)isCurr;
66 66
67 67
- (void)loadPage:(NSArray *)param;
68 68

+ 5 - 5
IPUMobileFunc/IPUMobileFunc/IPUMobileUIPlugin.m

@ -230,7 +230,7 @@
230 230
    
231 231
    [self openTemplate:pageAction
232 232
              withData:pageParam
233
                isCurr:isCurr];
233
                isCurr:[NSNumber numberWithBool:isCurr]];
234 234
}
235 235
236 236
/**
@ -247,12 +247,12 @@
247 247
    
248 248
    [self openTemplate:param[0]
249 249
              withData:pageParam
250
                isCurr:YES];
250
                isCurr:[NSNumber numberWithBool:YES]];
251 251
}
252 252
253 253
- (void)openTemplate:(NSString *)pageAction
254 254
            withData:(IPUDataMap *)data
255
              isCurr:(BOOL)isCurr {
255
              isCurr:(NSNumber *)isCurr {
256 256
    NSString *templatePath = [IPUServerPage getTemplate:pageAction];
257 257
    IPUFlipperView *flipperView = [self.mobileDelegate getFlipperView];
258 258
    // 是否需要新开View
@ -338,7 +338,7 @@
338 338
    
339 339
    [self openPage:param[0]
340 340
              data:dataParam
341
        isCurrView:YES];
341
        isCurrView:[NSNumber numberWithBool:YES]];
342 342
}
343 343
344 344
/**
@ -347,7 +347,7 @@
347 347
 */
348 348
- (void)openPage:(NSString *)pageAction
349 349
            data:(NSString *)dataParam
350
      isCurrView:(BOOL)isCurr {
350
      isCurrView:(NSNumber *)isCurr {
351 351
    NSString *dataAction = [IPUServerPage getData:pageAction];
352 352
    IPUDataMap *pageParam = nil;
353 353
    if (dataAction) {