这种错误,可以在loadurl之后再调用 localstorage。setitem()即可解决。
"Uncaught SecurityError: Failed to read the ‘localStorage‘ property from ‘Window‘: Access is denied for this document.", source: (1)
android webview "Uncaught SecurityError: Failed to read the 'localStorage' property from 'Window': Access is denied for this document.", source: (1)
时间: 2024-12-26 11:48:36