From f251e58aa6b6eff27985ee7c50d0ddb9a9f1b8b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E9=87=91=E5=B9=B3?= <32758131+NameWjp@users.noreply.github.com> Date: Fri, 2 Apr 2021 14:26:06 +0800 Subject: [PATCH] destroyed => beforeDestroy MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit destroyed 实例已销毁,无法访问 this.fullscreen --- src/components/Tinymce/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Tinymce/index.vue b/src/components/Tinymce/index.vue index cb6b91c7..8c6ca3b8 100644 --- a/src/components/Tinymce/index.vue +++ b/src/components/Tinymce/index.vue @@ -98,7 +98,7 @@ export default { deactivated() { this.destroyTinymce() }, - destroyed() { + beforeDestroy() { this.destroyTinymce() }, methods: {