mmRouter icon indicating copy to clipboard operation
mmRouter copied to clipboard

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

Open IsvaraWoo opened this issue 9 years ago • 0 comments

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时从没调用这两个函数。

IsvaraWoo avatar Dec 17 '15 08:12 IsvaraWoo