Kaynağa Gözat

修复自动高度无效

zhangchao 4 yıl önce
ebeveyn
işleme
561ef0f2fd
No account linked to committer's email address
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1
    1
      autoHeightWebView/index.js

+ 1
- 1
autoHeightWebView/index.js Dosyayı Görüntüle

@@ -67,7 +67,7 @@ const AutoHeightWebView = React.memo(
67 67
       [width, height, onSizeUpdated]
68 68
     );
69 69
     return (
70
-      <View style={[props.style, { height: height || 50 }]}>
70
+      <View style={[props.style, { height: height || 20 }]}>
71 71
         <WebView
72 72
           {...props}
73 73
           style={{}}