修改util编译错误的问题

This commit is contained in:
Gaoxs
2020-09-15 16:28:48 +08:00
parent 52b2ebce45
commit 1286ede581

View File

@ -117,6 +117,8 @@ export function parseQuery() {
});
// #endif
// #ifndef H5
var pages = getCurrentPages() //获取加载的页面
var currentPage = pages[pages.length - 1] //获取当前页面的对象
var url = currentPage.route //当前页面url
res = currentPage.options //如果要获取url中所带的参数可以查看options
// #endif