diff --git a/vue.config.js b/vue.config.js index ff82e17..b72c6bc 100644 --- a/vue.config.js +++ b/vue.config.js @@ -112,6 +112,7 @@ const vueConfig = { devServer: { // development server port 8000 port, + host: '192.168.0.53', public: (os.networkInterfaces().以太网 || os.networkInterfaces().WLAN)?.slice(-1)[0].address + ':' + port, // If you want to turn on the proxy, please remove the mockjs /src/main.jsL11 proxy: {