vue 中 有个 ' use strict ' 为严格模式,导致我们的一些东西都不可以使用,使用便会报错
解决方法:我们下载 babel-plugin-transform-remove-strict-mode 的插件
下载插件:npm install babel-plugin-transform-remove-strict-mode
使用插件:当我们下载完插件会在根目录下面生成 .babelrc 的文件中,添加下面一段
{
"plugins":
}
谷歌浏览器新出的功能,我们滑动会出现黄色的警告,不影响操作,但是看着不好看
在 css 里面添加
*{
touch-action: pan-y;
}