diff --git a/examples/routers/tooltip.vue b/examples/routers/tooltip.vue index 55e68bb..53978d5 100644 --- a/examples/routers/tooltip.vue +++ b/examples/routers/tooltip.vue @@ -1,15 +1,25 @@ diff --git a/src/components/tooltip/tooltip.vue b/src/components/tooltip/tooltip.vue index 3de25ae..65656cd 100644 --- a/src/components/tooltip/tooltip.vue +++ b/src/components/tooltip/tooltip.vue @@ -68,6 +68,11 @@ prefixCls: prefixCls }; }, + watch: { + content () { + this.updatePopper(); + } + }, methods: { handleShowPopper() { if (this.timeout) clearTimeout(this.timeout); -- libgit2 0.21.4