Commit 77406d98 by unknown

Merge branch 'front_end_dev_1.5' of https://gitee.com/LinkWeChat/link-wechat into front_end_dev_1.5

2 parents e6429f38 69340c99
...@@ -58,6 +58,7 @@ ...@@ -58,6 +58,7 @@
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
"nprogress": "0.2.0", "nprogress": "0.2.0",
"path-to-regexp": "2.4.0", "path-to-regexp": "2.4.0",
"performance_test_plugins_milk": "0.0.3",
"promise.prototype.finally": "^3.1.2", "promise.prototype.finally": "^3.1.2",
"screenfull": "4.2.0", "screenfull": "4.2.0",
"sortablejs": "1.8.4", "sortablejs": "1.8.4",
......
...@@ -291,7 +291,7 @@ export default { ...@@ -291,7 +291,7 @@ export default {
v-loading="loading" v-loading="loading"
:data="list" :data="list"
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
max-height="350" max-height="600"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="样式" align="center" prop="qrCode"> <el-table-column label="样式" align="center" prop="qrCode">
......
'use strict' 'use strict'
const path = require('path') const path = require('path')
const performancePlugin = require('performance_test_plugins_milk')
function resolve(dir) { function resolve(dir) {
return path.join(__dirname, dir) return path.join(__dirname, dir)
...@@ -30,12 +31,12 @@ module.exports = { ...@@ -30,12 +31,12 @@ module.exports = {
open: true, open: true,
proxy: { proxy: {
// detail: https://cli.vuejs.org/config/#devserver-proxy // detail: https://cli.vuejs.org/config/#devserver-proxy
['http']: { ['/api']: {
target: process.env.VUE_APP_BASE_API, target: process.env.VUE_APP_BASE_API,
changeOrigin: true, changeOrigin: true,
// pathRewrite: { pathRewrite: {
// ['^' + process.env.VUE_APP_BASE_API]: '' ['^/api']: '',
// } },
}, },
}, },
disableHostCheck: true, disableHostCheck: true,
...@@ -55,6 +56,9 @@ module.exports = { ...@@ -55,6 +56,9 @@ module.exports = {
'@': resolve('src'), '@': resolve('src'),
}, },
}, },
plugins: [
new performancePlugin()
]
}, },
chainWebpack(config) { chainWebpack(config) {
// 修复HMR // 修复HMR
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!