From d28259ebb46af352a4c37e142552d55184e5cd84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E8=83=9C=E5=BC=BA?= Date: Tue, 13 Nov 2018 11:22:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=84=E4=BB=B6=E5=85=A7onLoad=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E4=B8=BAmounted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/hello-uniapp/components/ly-markdown/ly-markdown.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue b/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue index 9962c7f3..485ac492 100644 --- a/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue +++ b/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue @@ -158,7 +158,7 @@ this.$emit('update:textareaHtml', this.textareaHtml) } }, - onLoad: function () { + mounted: function () { uni.getSystemInfo({ success: res => { this.screenHeight = res.screenHeight -- GitLab