Update Select.vue

增加单选下拉的值为 null 时,不清空框内文字的情况
This commit is contained in:
WJD 2017-05-25 17:30:02 +08:00 committed by GitHub
parent b6b0e9e7cc
commit 922145732f

View file

@ -155,6 +155,8 @@
if (!this.model.length) {
status = true;
}
} else if( this.model === null){
status = true;
}
return status;