Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
Car-iOS-Merchant
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
张杰
Car-iOS-Merchant
Commits
757ea8fe
Commit
757ea8fe
authored
Mar 23, 2017
by
Sandy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加退出登录的校验
parent
de700f75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
LeftTableViewController.m
...eClass/LeftView/ViewControllers/LeftTableViewController.m
+6
-3
No files found.
Car/CodeClass/LeftView/ViewControllers/LeftTableViewController.m
View file @
757ea8fe
...
...
@@ -38,17 +38,20 @@
-
(
void
)
tableView
:
(
UITableView
*
)
tableView
didSelectRowAtIndexPath
:
(
NSIndexPath
*
)
indexPath
{
[
tableView
deselectRowAtIndexPath
:
indexPath
animated
:
YES
];
[
kGlobal
.
sideSlipVC
showMainView
];
if
(
indexPath
.
row
==
0
)
{
//核销订单
[
kGlobal
.
sideSlipVC
showMainView
];
[
self
scanCard
];
}
else
if
(
indexPath
.
row
==
1
)
{
//修改密码
[
kGlobal
.
sideSlipVC
showMainView
];
ModifyPswTableViewController
*
modifyVC
=
[
ModifyPswTableViewController
viewControllerWithStoryBoardType
:
STORYBOARD_TYPE_MAIN
];
[
kGlobal
.
mainNaVC
pushViewController
:
modifyVC
animated
:
YES
];
}
else
if
(
indexPath
.
row
==
2
)
{
//退出登录
[
kGlobal
.
sideSlipVC
dismissViewControllerAnimated
:
YES
completion
:
nil
];
[
self
alertTitle
:
@"提示"
msg
:
@"确认退出登录?"
okAction
:^
(
UIAlertAction
*
_Nullable
action
)
{
[
kGlobal
.
sideSlipVC
dismissViewControllerAnimated
:
YES
completion
:
nil
];
}
cancelAction
:
nil
];
}
}
...
...
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