diff --git a/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue b/examples/hello-uniapp/components/ly-markdown/ly-markdown.vue index 9962c7f3215ce4cc8bd3236adc298dd4e2fad03b..485ac492581eb4bfe9e785a3e0b87f379e772ccf 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