未验证 提交 fc836908 编写于 作者: O openharmony_ci 提交者: Gitee

!7723 翻译完成:7280 update docs

Merge pull request !7723 from wusongqing/TR7280
...@@ -162,7 +162,7 @@ Returns to the previous page or a specified page. ...@@ -162,7 +162,7 @@ Returns to the previous page or a specified page.
// Return to the detail page through router.back(). // Return to the detail page through router.back().
export default { export default {
backToDetail() { 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 ...@@ -334,7 +334,7 @@ Obtains the parameters passed from the page that initiates redirection to the cu
// detail page // detail page
export default { export default {
onInit() { 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.
先完成此消息的编辑!
想要评论请 注册