提交 a8798564 编写于 作者: DCloud-WZF's avatar DCloud-WZF 💬

feat(getCurrentPages): UniPage route 校验

上级 d59a599d
......@@ -143,7 +143,7 @@
const page = this.getCurrentPage()
let res = this.$page === page
if(this.testing){
res = res && page.options.get('test') == '123'
res = res && page.options.get('test') == '123' && page.route == 'pages/API/get-current-pages/get-current-pages'
}
console.log('check $page', res)
return res
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册