Commit b64545f9 authored by lujunye's avatar lujunye

同上

parent 0c4d06f7
...@@ -17,7 +17,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData ...@@ -17,7 +17,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
let UserToken = UserDefaults.standard.value(forKey: "user_token") let UserToken = UserDefaults.standard.value(forKey: "user_token")
let model = adrArrs[sender.tag] let model = adrArrs[sender.tag]
AddressDel(["user_token":UserToken as Any,"address_id":model.address_id as Any], success: { (data) in AddressDel(["user_token":UserToken as Any,"address_id":model.address_id as Any], success: { (data) in
self.loadData() self.listView.mj_header?.beginRefreshing()
}) { (error) in }) { (error) in
} }
...@@ -25,7 +25,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData ...@@ -25,7 +25,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
func XinZengDiZhiViewControllerFinishAction() { func XinZengDiZhiViewControllerFinishAction() {
loadData() listView.mj_header?.beginRefreshing()
} }
//MARK:--搜索模块 //MARK:--搜索模块
...@@ -59,7 +59,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData ...@@ -59,7 +59,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
} }
keyWord = searchBar.text! keyWord = searchBar.text!
loadData() listView.mj_header?.beginRefreshing()
} }
//MARK:--清空搜索代理 //MARK:--清空搜索代理
...@@ -73,7 +73,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData ...@@ -73,7 +73,7 @@ class DZGLViewController: BaseViewController,UITableViewDelegate,UITableViewData
if keyWord.count > 0 { if keyWord.count > 0 {
keyWord = searchBar.text! keyWord = searchBar.text!
if keyWord.count == 0 { if keyWord.count == 0 {
loadData() listView.mj_header?.beginRefreshing()
} }
} }
} }
......
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