From 7e3322643ae2b0b81e0d8dfb3e2c2151e80b914e Mon Sep 17 00:00:00 2001 From: cangdu <1264889788@qq.com> Date: Sat, 13 Aug 2022 11:35:01 +0800 Subject: [PATCH] Update life-cycles.md --- docs/zh-cn/life-cycles.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/zh-cn/life-cycles.md b/docs/zh-cn/life-cycles.md index 2af120785..3ff85815f 100644 --- a/docs/zh-cn/life-cycles.md +++ b/docs/zh-cn/life-cycles.md @@ -63,19 +63,19 @@ vue中监听方式和普通事件一致。 export default { methods: { created () { - console.log('micro-app元素被创建'), + console.log('micro-app元素被创建') }, beforemount () { - console.log('即将被渲染'), + console.log('即将被渲染') }, mounted () { - console.log('已经渲染完成'), + console.log('已经渲染完成') }, unmount () { - console.log('已经卸载'), + console.log('已经卸载') }, error () { - console.log('渲染出错'), + console.log('渲染出错') } } }