Commit 5208abdd by 高淑倩

modify: 去掉_observers

parent 5aef61fb
...@@ -26,20 +26,6 @@ Component({ ...@@ -26,20 +26,6 @@ Component({
currentRoute: `/${utils.getCurrentPageUrl()}` currentRoute: `/${utils.getCurrentPageUrl()}`
}) })
}, },
// observers: {
// currentRoute(nRoute, oRoute) {
// if(nRoute != oRoute){
// this.setData({
// currentRoute: nRoute
// })
// }
// const {currentRoute} = this.data
// if(currentRoute.indexOf('subPackage/page/pages/subPage/subPage') > -1){
// // 子页面 判断id
// console.log('=动态子页面===')
// }
// }
// },
/** /**
* 组件的初始数据 * 组件的初始数据
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment