Commit b64545f9 authored by lujunye's avatar lujunye

同上

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