You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
import {FC} from "react";
|
|
import {WebView} from "@tarojs/components";
|
|
import {useRouter} from "@tarojs/taro";
|
|
|
|
const Web:FC = () => {
|
|
const {url} = useRouter().params as unknown as { url: string }
|
|
return <WebView src={url}></WebView>
|
|
}
|
|
export default Web
|
|
|