|
@@ -50,7 +50,7 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
inputValue: [],
|
|
inputValue: [],
|
|
|
- optionName: '23432432',
|
|
|
|
|
|
|
+ optionName: '',
|
|
|
labelWidth: 0,
|
|
labelWidth: 0,
|
|
|
showPicker:false
|
|
showPicker:false
|
|
|
}
|
|
}
|
|
@@ -76,7 +76,9 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
setValue(){
|
|
setValue(){
|
|
|
let value=this.value
|
|
let value=this.value
|
|
|
- if(typeof value==='string'){
|
|
|
|
|
|
|
+ if(!value){
|
|
|
|
|
+ value=[]
|
|
|
|
|
+ }else if(typeof value==='string'){
|
|
|
value=value.split(',')
|
|
value=value.split(',')
|
|
|
}
|
|
}
|
|
|
if(this.inputValue!==value){
|
|
if(this.inputValue!==value){
|