Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc.md #731

Closed
wants to merge 1 commit into from
Closed

Update doc.md #731

wants to merge 1 commit into from

Conversation

xixiyang1216
Copy link

607行 其中Page实例继承自page

Checklist
  • documentation is changed or added

607行 通过前文的介绍可知,在 WePY 中,小程序被分为三个实例:小程序实例`App`、页面实例`Page`、组件实例`Component`。其中`Page`实例继承自`page`。各自的声明方式如下:
@coveralls
Copy link

Coverage Status

Coverage remained the same at 86.096% when pulling 6ab4601 on xixiyang1216:patch-1 into 2e40c85 on Tencent:master.

@Gcaufy
Copy link
Collaborator

Gcaufy commented Jan 5, 2018

意思是page实例继承自component,类的继承关系,可能表述不太好,但意思是这样的,所以改成page是不对的

class page extends component

@Gcaufy Gcaufy closed this Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants