From 45c305f538ec091124d97ef4389ea9dff80f28d9 Mon Sep 17 00:00:00 2001 From: DCloud_LXH <283700113@qq.com> Date: Fri, 4 Mar 2022 18:18:03 +0800 Subject: [PATCH] chore: router map --- docs/.vuepress/theme/config/redirectRouter.js | 4 ++++ docs/component/web-view.md | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/.vuepress/theme/config/redirectRouter.js b/docs/.vuepress/theme/config/redirectRouter.js index 3542bc022..cf13395aa 100644 --- a/docs/.vuepress/theme/config/redirectRouter.js +++ b/docs/.vuepress/theme/config/redirectRouter.js @@ -13,6 +13,9 @@ const routerMap = { '/collocation/env': '/tutorial/env.html', '/collocation/ssr': '/tutorial/ssr.html', '/collocation/frame/window': '/tutorial/page.html#getapp', + '/collocation/frame/window#getcurrentpages': '/tutorial/page.html#getcurrentpages', + '/collocation/auto/api': '/worktile/auto/api.html', + '/collocation/frame/log': '/api/log.html', '/component/mp-weixin-plugin': '/tutorial/mp-weixin-plugin.html', '/component/uniui': '/component/uniui/uni-ui.html', @@ -37,6 +40,7 @@ const routerMap = { '/frame#注意事项-1': '/tutorial/renderjs.html#注意事项', '/platform': '/tutorial/platform.html', + '/nvue-event': '/tutorial/nvue-event.html', '/api/extend/native-plugin': '/plugin/native-plugin.html', '/use-html5plus': '/tutorial/use-html5plus.html', diff --git a/docs/component/web-view.md b/docs/component/web-view.md index e12a24677..b0c9be652 100644 --- a/docs/component/web-view.md +++ b/docs/component/web-view.md @@ -388,7 +388,7 @@ A:使用 uni.webView.navigateTo... uni.webView.navigateTo 示例,注意uni sdk放到body下面 -``` +```html @@ -416,7 +416,7 @@ uni.webView.navigateTo 示例,注意uni sdk放到body下面 ``` nvue webview通信示例 -``` +```html