diff --git a/vue.config.js b/vue.config.js index ded857f..6e91d9f 100644 --- a/vue.config.js +++ b/vue.config.js @@ -42,8 +42,8 @@ module.exports = { lintOnSave: true, devServer: { open: true, - host: 'localhost', - port: '8081', + host: '0.0.0.0', + port: '8080', proxy: { '/api': { target: 'http://localhost:8999', // 要请求的地址