Browse Source

fix: 放开部分dev注释

master
niushuai233 2 years ago
parent
commit
812f1e2f92
  1. 12
      vue.config.js

12
vue.config.js

@ -82,18 +82,17 @@ module.exports = { @@ -82,18 +82,17 @@ module.exports = {
}
}
},
devServer: {
port: 3000,
// hot: true,
// disableHostCheck: true,
hot: true,
disableHostCheck: true,
// overlay: {
// warnings: false,
// errors: true,
// },
// headers: {
// 'Access-Control-Allow-Origin': '*',
// },
headers: {
'Access-Control-Allow-Origin': '*'
},
proxy: {
/* '/api': {
target: 'https://mock.ihx.me/mock/5baf3052f7da7e07e04a5116/antd-pro', //mock API接口系统
@ -112,6 +111,5 @@ module.exports = { @@ -112,6 +111,5 @@ module.exports = {
}
}
},
lintOnSave: undefined
}

Loading…
Cancel
Save