页面上打印console

dev-scheduling
zhangdi 3 weeks ago
parent 5761a73287
commit 2c746ce615
  1. 6
      vite.config.mjs

@ -30,7 +30,7 @@ export default ({ mode, command }) => {
].join(''); ].join('');
buildConfig.terserOptions = { buildConfig.terserOptions = {
compress: { compress: {
drop_console: true, // 删除 console drop_console: false, // 删除 console
drop_debugger: true, // 删除 debugger drop_debugger: true, // 删除 debugger
}, },
format: { format: {
@ -62,13 +62,13 @@ export default ({ mode, command }) => {
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.0.127:80',//外协本地 // target: 'http://192.168.0.127:80',//外协本地
// target: 'http://192.168.0.126:80',//举手本地 // target: 'http://192.168.0.126:80',//举手本地
// target: 'http://192.168.0.115:80',//工作台消息本地 // target: 'http://192.168.0.115:80',//工作台消息本地
// target: 'http://192.168.1.5:82', // target: 'http://192.168.1.5:82',
// target: "http://192.168.1.4:82", // target: "http://192.168.1.4:82",
// target: 'http://49.232.74.228:82', // target: 'http://49.232.74.228:82',
// target: "http://192.168.0.7", target: "http://192.168.0.2",
// target: 'https://saber3.bladex.cn/api', // target: 'https://saber3.bladex.cn/api',
// target: 'http://49.232.74.228:82', // target: 'http://49.232.74.228:82',
// target: "http:192.168.0.220:80", // target: "http:192.168.0.220:80",

Loading…
Cancel
Save