From d41ba0710174f222522ae952fa531f6c55fee000 Mon Sep 17 00:00:00 2001 From: sws <1141121512@qq.com> Date: Sun, 14 Jan 2024 20:06:01 +0800 Subject: [PATCH] =?UTF-8?q?1.=E7=BC=96=E8=BE=91=E5=99=A8=E4=BC=98=E5=8C=96?= =?UTF-8?q?=202024.1.14=20sws?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uni_modules/sp-editor/components/sp-editor/sp-editor.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/uni_modules/sp-editor/components/sp-editor/sp-editor.vue b/uni_modules/sp-editor/components/sp-editor/sp-editor.vue index 983fc4d9..dfe66e57 100644 --- a/uni_modules/sp-editor/components/sp-editor/sp-editor.vue +++ b/uni_modules/sp-editor/components/sp-editor/sp-editor.vue @@ -84,7 +84,6 @@ source: 'url("https://sungd.github.io/Pacifico.ttf")', }); // #endif - onEditorReady(); }, watch: { templates: function (new_val, old_val) { @@ -93,6 +92,9 @@ } }, }, + mounted() { + onEditorReady(); + }, methods: { onEditorReady() { // #ifdef MP-BAIDU