Select: Fix tag show value or empty issue (17199) (#17396)

* Select: Fix tag show value or empty issue

* update docs
This commit is contained in:
luckyCao
2019-11-12 15:33:34 +08:00
committed by Zhi Cun
parent 068b3ad1b0
commit 57e9007893
5 changed files with 10 additions and 5 deletions

View File

@@ -448,7 +448,7 @@
},
mounted() {
this.list = this.states.map(item => {
return { value: item, label: item };
return { value: `value:${item}`, label: `label:${item}` };
});
},
methods: {