Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/cuixiaorui/mini-vue
Browse files Browse the repository at this point in the history
cuixiaorui committed Mar 7, 2021
2 parents 406b30d + cf556aa commit 0aa55e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime-core/vnode.ts
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ export const createVNode = function (
) {
// 注意 type 有可能是 string 也有可能是对象
// 如果是对象的话,那么就是用户设置的 options
// type 为 stirng 的时候
// type 为 string 的时候
// createVNode("div")
// type 为组件对象的时候
// createVNode(App)

0 comments on commit 0aa55e4

Please sign in to comment.