Commit 28e4a423 authored by David黄金龙's avatar David黄金龙

修改一处bug

parent 58744d89
......@@ -265,7 +265,13 @@ extension YHHKPlanItemView : UITextViewDelegate {
// if model.type == .planOther {
// number = maxNumbler
// }
if model.type == .planOther {
numberLabel.text = myTextView.text.count.string + "/\(maxNumbler)"
} else {
numberLabel.text = myTextView.text.count.string + "/\(maxNumbler)" //for test hjl
}
if myTextView.text.count > maxNumbler {
numberLabel.textColor = .failColor
} else {
......
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