diff --git a/examples/icon.json b/examples/icon.json index e9aaaa39..e3be3e09 100644 --- a/examples/icon.json +++ b/examples/icon.json @@ -1 +1 @@ -["search","share","setting","circle-cross","warning","information","circle-check","delete","d-arrow-left","d-arrow-right","picture","upload","menu","time","circle-close","arrow-down","arrow-up","arrow-right","arrow-left","close","document","d-caret","date","message","loading","ellipsis","plus","caret-left","caret-right","caret-bottom","edit","caret-top","check","minus","star-on","star-off"] \ No newline at end of file +["search","share","setting","circle-cross","warning","information","circle-check","delete","d-arrow-left","d-arrow-right","picture","upload","menu","time","circle-close","arrow-down","arrow-up","arrow-right","arrow-left","close","document","d-caret","date","message","loading","ellipsis","plus","caret-left","caret-right","caret-bottom","edit","caret-top","check","minus","star-off","star-on"] \ No newline at end of file diff --git a/packages/rate/src/main.vue b/packages/rate/src/main.vue index fd54bc00..12474811 100644 --- a/packages/rate/src/main.vue +++ b/packages/rate/src/main.vue @@ -195,7 +195,7 @@ showDecimalIcon(item) { let showWhenDisabled = this.disabled && this.valueDecimal > 0 && item - 1 < this.value && item > this.value; - let showWhenAllowHalf = this.allowHalf && this.pointerAtLeftHalf && ((item - 0.5).toString() === this.currentValue.toString()); + let showWhenAllowHalf = this.allowHalf && this.pointerAtLeftHalf && ((item - 0.5).toFixed(1) === this.currentValue.toFixed(1)); return showWhenDisabled || showWhenAllowHalf; }, diff --git a/packages/select-dropdown/src/select-dropdown.vue b/packages/select-dropdown/src/select-dropdown.vue index 75bb9deb..cee796d7 100644 --- a/packages/select-dropdown/src/select-dropdown.vue +++ b/packages/select-dropdown/src/select-dropdown.vue @@ -26,7 +26,9 @@ methods: { updatePopper() { if (this.popper) { - this.popper.update(); + this.$nextTick(() => { + this.popper.update(); + }); } else { this.$nextTick(() => { this.popper = new Popper(this.$parent.$refs.reference.$el, this.$el, { diff --git a/packages/select/src/select.vue b/packages/select/src/select.vue index f903a843..825525a9 100644 --- a/packages/select/src/select.vue +++ b/packages/select/src/select.vue @@ -1,14 +1,16 @@