Commit ae4756da authored by Steven杜宇's avatar Steven杜宇

// 增加测试代码

parent f34bc290
......@@ -275,6 +275,14 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if (indexPath.row >= items.count) { return }
#if DEBUG
YHHUD.flash(message: "DEBUG", duration: 2.0)
#elseif TESTNEV
YHHUD.flash(message: "TESTNEV", duration: 2.0)
#else
YHHUD.flash(message: "RELEASE", duration: 2.0)
#endif
if !checkLogin() {
return
......
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