Commit 5dfe87fe authored by lrw's avatar lrw

bug

parent d4d0284a
...@@ -2069,6 +2069,9 @@ ...@@ -2069,6 +2069,9 @@
// 输入框失去焦点 // 输入框失去焦点
inputBlur(e,item) { inputBlur(e,item) {
const val = e.detail.value const val = e.detail.value
if(!val) {
return
}
if(item.validator && !item.validator(val)) { if(item.validator && !item.validator(val)) {
uni.showToast({ uni.showToast({
icon: 'none', icon: 'none',
......
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