nginx sbin #目录下
./nginx #启动
./nginx -s reload #重启
升级了最新Mac系统的用户在打开一些应用的时候都会出现“应用XX已损坏”的系统提示,安装这些应用的时候总是提示“已损坏,移至废纸篓”这类信息,根本无法打开应用,那么Mac打开应用提示已损坏怎么办?
打开应用提示已损坏是因为新系统的原因。新的系统为了加强安全机制,默认不允
需要安装一个Html编辑器提示报错
You are using the runtime-only build of Vue where the template compiler is not available.
document.body.addEventListener('touchmove', function (e) {
e.preventDefault();
}, {passive: false});
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-eval' 'unsafe-inline' ;
object-src xxx.xxx.com ;
style-src 'unsafe-inline' xxx.xxx.com;
<script src="http://wximg.qq.com/wxp/libs/wxmoment/0.0.4/wxmoment.min.js"></script>
<script>
new WxMoment.OrientationTip();
</script>
微信的WeixinJSBridge 自动关闭当前浏览器内置函数
WeixinJSBridge.call('closeWindow');
WeixinJSBridge的隐藏函数
WeixinJSBridge.call('hideToolbar'); //隐藏右下面工具栏
WeixinJSBridge.call('showToolbar'); //显示右下面工具栏
var form = new FormData()
form.append('file', vm.$refs.upload.files[0])
form.append('id', id)
form.append('type', type)
var config = {
// 进度
x-webkit-airplay="true",x5-playsinline="true",
webkit-playsinline="true",playsinline="true"
x-webkit-airplay="true" 支持Airplay的设备
webkit-playsinline="true" 播放视频不全屏,ios7+
外部scss添加 postcss
首先 install postcss-loader
然后在utils文件的中添加 postcss-loader 相关部分
exports.cssLoaders = function (options) {
options = options || {}
var cssLoader = {