Cordova頁面解析頁面中script 內容失敗,Refused to execute inline script because it violates the following

異常的原因: Content-Security-Policy的默認配置是default-src 'self'。 解決方案: 添加script-src * 'unsafe-inline',對於頁面內部標籤不進行安全驗證。
相關文章
相關標籤/搜索