Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yd-csf-front
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yuzhenWang
yd-csf-front
Commits
85adb773
Commit
85adb773
authored
Mar 12, 2026
by
Sweet Zhang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test' of
http://139.224.139.2:9091/yuzhenWang/yd-csf-front
into test
parents
bfcb6958
17fcf8e5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
.env.production
+2
-1
package.json
+1
-1
src/utils/request.js
+1
-4
No files found.
.env.production
View file @
85adb773
...
...
@@ -5,7 +5,8 @@ VITE_APP_TITLE = CSF-CORE
VITE_APP_ENV = 'production'
# 若依管理系统/生产环境
VITE_APP_BASE_API = '/prod-api'
VITE_APP_BASE_API = '/api'
VITE_APP_BASE_API1 = 'https://center.supguard.cn'
# 是否在打包时开启压缩,支持 gzip 和 brotli
VITE_BUILD_COMPRESS = gzip
package.json
View file @
85adb773
...
...
@@ -9,7 +9,7 @@
"dev"
:
"vite"
,
"build"
:
"vite build"
,
"build:dev"
:
"vite build --mode=development"
,
"build:prod"
:
"vite build"
,
"build:prod"
:
"vite build
--mode=production
"
,
"build:stage"
:
"vite build --mode staging"
,
"preview"
:
"vite preview"
},
...
...
src/utils/request.js
View file @
85adb773
...
...
@@ -6,7 +6,6 @@ import { tansParams, blobValidate } from '@/utils/ruoyi'
import
cache
from
'@/plugins/cache'
import
{
saveAs
}
from
'file-saver'
import
useUserStore
from
'@/store/modules/user'
console
.
log
(
'请求2222'
)
let
downloadLoadingInstance
// 是否显示重新登录
export
let
isRelogin
=
{
show
:
false
}
...
...
@@ -84,9 +83,7 @@ service.interceptors.request.use(
// 响应拦截器
service
.
interceptors
.
response
.
use
(
res
=>
{
console
.
log
(
'===================================='
)
console
.
log
(
'响应拦截器33333'
,
res
.
data
.
code
)
console
.
log
(
'===================================='
)
// 未设置状态码则默认成功状态
const
code
=
res
.
data
.
code
||
200
...
...
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