Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
f4141b70
Commit
f4141b70
authored
Feb 22, 2023
by
张超军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉打印
parent
137ee7d9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
babel.config.js
+1
-1
vue.config.js
+1
-1
No files found.
babel.config.js
View file @
f4141b70
...
...
@@ -3,7 +3,7 @@
// };
let
plugins
=
[];
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
=
{
presets
:
[
"@vue/cli-plugin-babel/preset"
],
...
...
vue.config.js
View file @
f4141b70
...
...
@@ -138,7 +138,7 @@ module.exports = {
"/apiDelImg"
:
{
// target: "http://47.92.226.24:8091/", //统一的请求头部每次修改都要重启才会生效
// target: "http://192.168.128.105:8091", //新系统
target
:
"http://1
72.18.116.22
:8091"
,
//新系统
target
:
"http://1
92.168.128.101
:8091"
,
//新系统
// target: "http://127.0.0.1:8091", //新系统
ws
:
true
,
changeOrigin
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment