From d6b65f940063ae1c575475de38b65f54129eb45f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=A5=95?= Date: Mon, 14 May 2018 11:05:29 +0800 Subject: [PATCH] Autocomplete: avoid popper creation in updated hook (#11144) --- packages/autocomplete/src/autocomplete-suggestions.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/autocomplete/src/autocomplete-suggestions.vue b/packages/autocomplete/src/autocomplete-suggestions.vue index 35c16692..b517e547 100644 --- a/packages/autocomplete/src/autocomplete-suggestions.vue +++ b/packages/autocomplete/src/autocomplete-suggestions.vue @@ -56,7 +56,7 @@ updated() { this.$nextTick(_ => { - this.updatePopper(); + this.popperJS && this.updatePopper(); }); },