cordova + vue 兼容ios
程序员文章站
2022-03-15 13:30:48
在index.html 写入一下配置
在index.html 写入一下配置
<meta http-equiv="Content-Security-Policy" content="default-src *;img-src 'self' data: 'unsafe-inline'; style-src 'self' 'unsafe-inline'; script-src * 'unsafe-inline' 'unsafe-eval'">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
-
前端安全配置之Content-Security-Policy(csp)
https://www.cnblogs.com/zhangzhijian/p/10579974.html -
解决Cordova在iOS10下插件失效问题
https://www.jianshu.com/p/bcee14cf6b29 -
解决iOS 滑动卡顿问题
html{
-webkit-overflow-scrolling: touch;
}
本文地址:https://blog.csdn.net/weixin_40079913/article/details/110649710