Fix #982 issue.Make Null acceptable for Select tag(让Select标签可以接收null值)
This commit is contained in:
parent
92ba610c83
commit
d4a0b94428
1 changed files with 2 additions and 1 deletions
|
@ -724,7 +724,8 @@
|
||||||
watch: {
|
watch: {
|
||||||
value (val) {
|
value (val) {
|
||||||
this.model = val;
|
this.model = val;
|
||||||
if (val === '') this.query = '';
|
// #982
|
||||||
|
if (val === '' || val === null) this.query = '';
|
||||||
},
|
},
|
||||||
label (val) {
|
label (val) {
|
||||||
this.currentLabel = val;
|
this.currentLabel = val;
|
||||||
|
|
Loading…
Add table
Reference in a new issue