我们只需要在项目 vue.config.js,加上如下配置即可:
module.exports = defineConfig({ ... devServer: { client: { overlay: false } } })