Skip to content

Commit 089684a

Browse files
authored
Merge pull request cuixiaorui#76 from ZimTang/master
chore: revised comments
2 parents 6502e0c + 1c98fed commit 089684a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime-core/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function finishComponentSetup(instance) {
125125
const Component = instance.type;
126126

127127
if (!instance.render) {
128-
// 如果 compile 有值 并且当然组件没有 render 函数,那么就需要把 template 编译成 render 函数
128+
// 如果 compile 有值 并且当组件没有 render 函数,那么就需要把 template 编译成 render 函数
129129
if (compile && !Component.render) {
130130
if (Component.template) {
131131
// 这里就是 runtime 模块和 compile 模块结合点

0 commit comments

Comments
 (0)