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

Loading…
Cancel
Save