You need to sign in or sign up before continuing.
提交 da34db9e 编写于 作者: W wusongqing

update docs against 7280

Signed-off-by: Nwusongqing <wusongqing@huawei.com>
上级 02815a9f
......@@ -162,7 +162,7 @@ Returns to the previous page or a specified page.
// Return to the detail page through router.back().
export default {
backToDetail() {
router.back({uri:'pages/detail/detail'});
router.back({url:'pages/detail/detail'});
}
}
```
......@@ -334,7 +334,7 @@ Obtains the parameters passed from the page that initiates redirection to the cu
// detail page
export default {
onInit() {
console.info('showData1:' + router.getParams().data1);
console.info('showData1:' + router.getParams()[data1]);
}
}
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册