Commit 2a634222 by unknown

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

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