Commit 93017089 authored by shiyl's avatar shiyl

修复 生活圈C端项目SHQCLIENT-1529 && 生活圈C端项目SHQCLIENT-1531

parent a22a1957
...@@ -167,7 +167,11 @@ class ConfirmOrderViewModel : BaseViewModel() { ...@@ -167,7 +167,11 @@ class ConfirmOrderViewModel : BaseViewModel() {
return return
} }
if (receivingName.value.isNullOrBlank()) { if (receivingName.value.isNullOrBlank()) {
postErrorEvent(ErrorInfo(message = "请输入收货姓名")) postErrorEvent(ErrorInfo(message = "请输入收货人姓名"))
return
}
if (receivingName.value?.length == 1) {
postErrorEvent(ErrorInfo(message = "姓名必须为2到10个字符"))
return return
} }
if (receivingPhone.value.isNullOrBlank()) { if (receivingPhone.value.isNullOrBlank()) {
......
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