Skip to content

Commit

Permalink
fix ts error mpx-webview
Browse files Browse the repository at this point in the history
  • Loading branch information
wenwenhua committed Nov 4, 2024
1 parent d10bc3c commit 3038eab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ interface FormRef {
}

const _WebView = forwardRef<HandlerRef<WebView, WebViewProps>, WebViewProps>((props, ref): JSX.Element => {
const { src, bindmessage = noop, bindload = noop, binderror = noop } = props
const { src = '', bindmessage = noop, bindload = noop, binderror = noop } = props
if (props.style) {
warn('The web-view component does not support the style prop.')
}
Expand Down

0 comments on commit 3038eab

Please sign in to comment.