Commit 2039227f authored by pete谢兆麟's avatar pete谢兆麟

操作指引

parent cb8feab5
......@@ -325,7 +325,9 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
}
@objc func actionClick() {
actionButton.isSelected = true
if actionButton.isSelected {
return
}
viewModel.postLiveBook(id: dataSource?.live_id ?? 0) { success, error in
if success {
YHHUD.flash(message: "预约成功")
......@@ -333,6 +335,6 @@ class YHlifeCollectionReusableViewTableViewCell: UITableViewCell {
YHHUD.flash(message: "预约失败")
}
}
actionButton.isSelected = true
}
}
......@@ -238,8 +238,10 @@ extension YHServiceCenterViewController {
}
@objc func pushOrderView() {
let flag = false
var flag = false
if self.state == 1 {
flag = true
}
YHServiceMoreAlertView.show(flag) {[weak self] index in
guard let self = self else { return }
if index == 1 {
......
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