|
@@ -43,7 +43,10 @@
|
|
|
methods:{
|
|
|
showPopup(){
|
|
|
this.popupVisible=true;
|
|
|
- this.selectedValue=this.slots[0].values[0];
|
|
|
+ if(!this.selectedValue){
|
|
|
+ this.selectedValue=this.slots[0].values[0];
|
|
|
+ }
|
|
|
+
|
|
|
this.$emit('input',this.selectedValue);
|
|
|
},
|
|
|
onValuesChange(picker,val){
|