提交 1d3e1bcc 编写于 作者: fxy060608's avatar fxy060608

feat(web-view): add uni.webView #1011

上级 42221f22
......@@ -53,10 +53,10 @@ if (!webViewApi) {
const api = typeof uni !== 'undefined' ? uni : {}
if (api.navigateTo) {
api.miniProgram = webViewApi
api.webView = webViewApi
} else {
Object.assign(api, webViewApi, {
miniProgram: webViewApi
webView: webViewApi
})
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册