Skip to content

The state's event handler what onBeforeLoad and onAfterLoad never been called before state load or after. #105

Description

@IsvaraWoo

state的事件函数onBeforeLoad和onAfterLoad从未在state加载前后被调用。

In this demo:
http://ued.qunar.com/oniui/index.html#!/widgets?widgetId=mmRouter&ex=ex5
There are two event handler functions named onBeforeLoad and onAfterLoad in state that "contacts.list", but they never been called when click button that "点击到状态:contacts.list" to switch state .

http://ued.qunar.com/oniui/index.html#!/widgets?widgetId=mmRouter&ex=ex5 这个演示:
在"contacts.list"状态中定义了两个事件函数onBeforeLoad和onAfterLoad,但是在点击"点击到状态:contacts.list"按钮切换state时从没调用这两个函数。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions