React Native Form Submit WebView重新加载到同一页面

时间:2019-09-27 08:22:25

标签: react-native webview react-native-webview

我正在将ccAvenue付款网关集成到我的响应应用程序中。我正在发送html字符串,该字符串提交表单并重定向到操作。

<WebView
       ref="webview"
       html={{html: htmlString}}
       onNavigationStateChange={ e => {
          console.log('e', e);
       }}
   />
  • 它会打开ccAvenue付款网关,但在成功提交详细信息之后,它将再次执行htmlString,提交表单,并将其再次重定向到同一页面。

1 个答案:

答案 0 :(得分:0)

是来自ccAvenue。

  • 我没有插入地址数据,因此它正在重新加载同一页面并且没有解析。

-快乐编码...(▀̿Ĺ̯▀̿)