mirror of https://github.com/shunfei/cronsun
UI: delay 300ms to refresh dropdown component
parent
25f10aeb42
commit
8c2d33af2c
File diff suppressed because one or more lines are too long
|
@ -34,11 +34,11 @@ export default {
|
|||
});
|
||||
setTimeout(()=>{
|
||||
$(vm.$el).dropdown('set exactly', vm.selected).dropdown('refresh');
|
||||
}, 200);
|
||||
}, 300);
|
||||
},
|
||||
|
||||
updated: function(){
|
||||
$(this.$el).dropdown('set exactly', this.selected);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue