diff --git a/docs/components/open/web-view.md b/docs/components/open/web-view.md index 1be62bd0e4c8..34abe7cfa281 100755 --- a/docs/components/open/web-view.md +++ b/docs/components/open/web-view.md @@ -18,7 +18,7 @@ import Taro, { Component } from '@tarojs/taro' // 引入 WebView 组件 import { WebView } from '@tarojs/components' -class App extends Components { +class App extends Component { render () { return ( <WebView src='https://mp.weixin.qq.com/' />