在vue-cli3的项目中,npm run serve时会把process.env.NODE_ENV设置为'development';. npm run build 时会把process.env.NODE_ENV设置为'production';. 此时只要根据 ...
確定! 回上一頁