Commit cc844709 authored by jz's avatar jz

升级路由

parent bd560bed
...@@ -5,7 +5,7 @@ PODS: ...@@ -5,7 +5,7 @@ PODS:
- GMCache - GMCache
- MagicalRecord - MagicalRecord
- MJExtension - MJExtension
- GMRouter (0.2.6): - GMRouter (0.2.7):
- GMPhobos - GMPhobos
- MJExtension - MJExtension
- MagicalRecord (2.3.2): - MagicalRecord (2.3.2):
...@@ -33,7 +33,7 @@ EXTERNAL SOURCES: ...@@ -33,7 +33,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS: SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611 GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: 981b9c9509945eaa28b4ad6a5376eb78f3fd54b5 GMPhobos: 981b9c9509945eaa28b4ad6a5376eb78f3fd54b5
GMRouter: b7411f9fef73aa3e07e769ee9607fae57b616e38 GMRouter: a7b6be83b3d946837929ecc50fd09c4b9342f952
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755 MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545 MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
......
...@@ -57,7 +57,7 @@ static NSMutableDictionary *routeMap = nil; ...@@ -57,7 +57,7 @@ static NSMutableDictionary *routeMap = nil;
[allParams addEntriesFromDictionary:paramsDict]; [allParams addEntriesFromDictionary:paramsDict];
host = [self safeHostWithEncodeUrlScheme:encodeUrlScheme host:host]; host = [self safeHostWithEncodeUrlScheme:encodeUrlScheme host:host];
id vc = [self performTarget:targetName action:host params:params shouldCacheTarget:NO]; id vc = [self performTarget:targetName action:host params:allParams shouldCacheTarget:NO];
//如果是push 过来的 或者需要回调的在此赋值 //如果是push 过来的 或者需要回调的在此赋值
if ([vc isKindOfClass:[UIViewController class]]) { if ([vc isKindOfClass:[UIViewController class]]) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment