diff --git a/web_src/README.md b/web_src/README.md index 58d286d..ead622c 100644 --- a/web_src/README.md +++ b/web_src/README.md @@ -10,7 +10,7 @@ npm install -g cross-env cd web_src # 安装 npm 依赖 -npm install --registry=https://registry.npm.taobao.org +cnpm install # 编辑 webpack.config.js > devServer > proxy ip 指向 server ip diff --git a/web_src/components/AdminLTE.vue b/web_src/components/AdminLTE.vue index 71afd17..9bf2d7a 100644 --- a/web_src/components/AdminLTE.vue +++ b/web_src/components/AdminLTE.vue @@ -183,6 +183,7 @@ export default { zindex: 999999, cursorwidth: "10px", cursoropacitymax: 0.5, + preservenativescrolling: false, enablekeyboard: false, }); } diff --git a/web_src/components/Play.vue b/web_src/components/Play.vue index 74f4bc0..b4487a1 100644 --- a/web_src/components/Play.vue +++ b/web_src/components/Play.vue @@ -326,6 +326,7 @@ export default { zindex: 999999, cursorwidth: "10px", cursoropacitymax: 0.5, + preservenativescrolling: false, enablekeyboard: false, }); } diff --git a/web_src/webpack.config.js b/web_src/webpack.config.js index 10525ac..2096eda 100644 --- a/web_src/webpack.config.js +++ b/web_src/webpack.config.js @@ -62,6 +62,9 @@ module.exports = { }, { test: /pretty-bytes/, loader: 'babel-loader' + }, { + test: /asn1\.js/, + loader: 'babel-loader' }, { test: /\.vue$/, loader: 'vue-loader',