Tencent / wepy

小程序组件化开发框架
https://wepyjs.gitee.io/wepy-docs/
Other
22.48k stars 3.05k forks source link

组件里面只能执行onLoad,不会执行onShow,onReachBottom等事件? #727

Closed upupli closed 6 years ago

upupli commented 6 years ago

提交ISSUE前请确保已认真阅读以下内容

Please read the following information carefully before you open an issue.

在提交issue之前必须确认以下问题:

Please make sure you understand the following points:

阅读完后请在提交的issue中删除以上内容,包括分割线

DELETE THE INFORMATION ABOVE(INCLUDE THE SEPARATION LINE) BEFORE YOU OPEN AN ISSUE


Description

[问题描述:站在其它人的角度尽可能清晰地、简洁地把问题描述清楚] [Description of the issue]

Environment

Reproduce

[如何重现问题]

[How to reproduce the issue]

Observed Results

[实际表现]

[Observed Results]

Expected Results

[期望表现]

[Expected Results]

Relevant Code / Logs

  // TODO(you): code or logs ohere to reproduce the problem
Gcaufy commented 6 years ago

对的,组件中只有onLoad 的生命周期

bzqadmin commented 5 years ago

现在组件中的onload是不是没有了,我就是简单的console.log('on loading'),好像也不行。