Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
GMRouter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gengmeiios
GMRouter
Commits
cc844709
Commit
cc844709
authored
Aug 13, 2020
by
jz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级路由
parent
bd560bed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Podfile.lock
Example/Podfile.lock
+2
-2
GMRouter+gm.m
GMRouter/Classes/GMRouter+gm.m
+1
-1
No files found.
Example/Podfile.lock
View file @
cc844709
...
...
@@ -5,7 +5,7 @@ PODS:
- GMCache
- MagicalRecord
- MJExtension
- GMRouter (0.2.
6
):
- GMRouter (0.2.
7
):
- GMPhobos
- MJExtension
- MagicalRecord (2.3.2):
...
...
@@ -33,7 +33,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
GMCache: b78d8e46db864405e91d226ce640cc80d966c611
GMPhobos: 981b9c9509945eaa28b4ad6a5376eb78f3fd54b5
GMRouter:
b7411f9fef73aa3e07e769ee9607fae57b616e38
GMRouter:
a7b6be83b3d946837929ecc50fd09c4b9342f952
MagicalRecord: 53bed74b4323b930992a725be713e53b37d19755
MJExtension: 635f2c663dcb1bf76fa4b715b2570a5710aec545
TMCache: 95ebcc9b3c7e90fb5fd8fc3036cba3aa781c9bed
...
...
GMRouter/Classes/GMRouter+gm.m
View file @
cc844709
...
...
@@ -57,7 +57,7 @@ static NSMutableDictionary *routeMap = nil;
[
allParams
addEntriesFromDictionary
:
paramsDict
];
host
=
[
self
safeHostWithEncodeUrlScheme
:
encodeUrlScheme
host
:
host
];
id
vc
=
[
self
performTarget
:
targetName
action
:
host
params
:
p
arams
shouldCacheTarget
:
NO
];
id
vc
=
[
self
performTarget
:
targetName
action
:
host
params
:
allP
arams
shouldCacheTarget
:
NO
];
//如果是push 过来的 或者需要回调的在此赋值
if
([
vc
isKindOfClass
:[
UIViewController
class
]])
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment