-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
if (typeof route.bind === 'function'/* && !route.__isBind*/) {
route.bind.call(node);
//route.__isBind = true;
}
修改成
if (typeof route.bind === 'function'/* && !route.__isBind*/) {
route.bind(node);
//route.__isBind = true;
}
这样可以在bind函数中使用route对象,可以用来保存一些中间数据。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels