“94b001393dc62adc14abf99b363d1c9f4f2d6719”上不存在“...reference/apis/js-apis-bluetoothManager.md”
提交 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. ...@@ -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.
先完成此消息的编辑!
想要评论请 注册