Commit f4141b70 by 张超军

去掉打印

parent 137ee7d9
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
// }; // };
let plugins = []; let plugins = [];
if (process.env.NODE_ENV === "production") { // todo if判断是否打包,打包环境下控制台去掉console.log,也可去掉if判断,整个项目不会出现console.log(不建议) if (process.env.NODE_ENV === "production") { // todo if判断是否打包,打包环境下控制台去掉console.log,也可去掉if判断,整个项目不会出现console.log(不建议)
plugins.push("transform-remove-console"); // plugins.push("transform-remove-console");
} }
module.exports = { module.exports = {
presets: ["@vue/cli-plugin-babel/preset"], presets: ["@vue/cli-plugin-babel/preset"],
......
...@@ -138,7 +138,7 @@ module.exports = { ...@@ -138,7 +138,7 @@ module.exports = {
"/apiDelImg": { "/apiDelImg": {
// target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效 // target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
// target: "http://192.168.128.105:8091", //新系统 // target: "http://192.168.128.105:8091", //新系统
target: "http://172.18.116.22:8091", //新系统 target: "http://192.168.128.101:8091", //新系统
// target: "http://127.0.0.1:8091", //新系统 // target: "http://127.0.0.1:8091", //新系统
ws: true, ws: true,
changeOrigin: true, changeOrigin: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment