From 16ec40a012d7c400bf3028e6c938050dd6d7de2f Mon Sep 17 00:00:00 2001 From: tanjinzhou <415800467@qq.com> Date: Thu, 28 Nov 2019 17:32:27 +0800 Subject: [PATCH] fix: tooltip not hide in keep-alive --- components/vc-trigger/Trigger.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/vc-trigger/Trigger.jsx b/components/vc-trigger/Trigger.jsx index a63f8ae167..a3ada822a7 100644 --- a/components/vc-trigger/Trigger.jsx +++ b/components/vc-trigger/Trigger.jsx @@ -115,7 +115,9 @@ export default { }; }); }, - + deactivated() { + this.setPopupVisible(false); + }, mounted() { this.$nextTick(() => { this.renderComponent(null);