From 4391f86aa8f30ae761d33008099aaf3fe30387ed Mon Sep 17 00:00:00 2001 From: neverland Date: Sat, 8 May 2021 09:48:49 +0800 Subject: [PATCH] docs: update style guide (#8677) --- docs/markdown/style-guide.zh-CN.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/markdown/style-guide.zh-CN.md b/docs/markdown/style-guide.zh-CN.md index a9ca41ffd..20659a7d8 100644 --- a/docs/markdown/style-guide.zh-CN.md +++ b/docs/markdown/style-guide.zh-CN.md @@ -135,12 +135,14 @@ export default { export default { name: '', - mixins: [], - components: {}, props: {}, + emits: [], + + setup() {}, + data() {}, computed: {}, @@ -151,7 +153,7 @@ export default { mounted() {}, - destroyed() {}, + unmounted() {}, methods: {}, }; @@ -190,9 +192,7 @@ export default { 单文件组件应该总是让顶级标签的顺序保持一致,且标签之间留有空行。 ```html - +