|
@@ -60,7 +60,10 @@ class SearchResultViewController: BaseViewController {
|
|
|
}
|
|
|
navigationBarView.shoppingCarBlock = {
|
|
|
[weak self] in
|
|
|
- self?.tabBarController?.selectedIndex = 1
|
|
|
+ self?.dismiss(animated: false, completion: {
|
|
|
+ let tabBarController = kAppDelegate.window?.rootViewController as! BaseTabbarViewController
|
|
|
+ tabBarController.selectedIndex = 1
|
|
|
+ })
|
|
|
}
|
|
|
|
|
|
searchResultView.didSelectRow = {
|