Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fk-spider-web
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
周田
fk-spider-web
Commits
df037e41
Commit
df037e41
authored
Feb 06, 2026
by
liucan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复爬虫错误提示文字有部分斜体的问题
parent
bcb85867
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
11 deletions
+8
-11
.env.development
.env.development
+2
-2
AppMain.vue
src/layout/components/AppMain.vue
+1
-1
vite.config.ts
vite.config.ts
+5
-8
No files found.
.env.development
View file @
df037e41
# 开发环境配置
# 开发环境配置
VITE_APP_BASE_API = '/api'
VITE_APP_BASE_API = '/api'
VITE_APP_TITLE = 'Spider Admin Pro'
VITE_APP_TITLE = 'Spider Admin Pro'
VITE_WEBSOCKET_API = "http://192.168.0.211:5001/"
VITE_WEBSOCKET_API = "http://192.168.0.219:5001/"
\ No newline at end of file
\ No newline at end of file
src/layout/components/AppMain.vue
View file @
df037e41
...
@@ -22,7 +22,7 @@ const handleErrorMsgNotify = () => {
...
@@ -22,7 +22,7 @@ const handleErrorMsgNotify = () => {
const
onErrorMsg
=
({
message
}:
{
message
:
any
})
=>
{
const
onErrorMsg
=
({
message
}:
{
message
:
any
})
=>
{
ElNotification
({
ElNotification
({
title
:
'爬虫错误提示'
,
title
:
'爬虫错误提示'
,
message
:
h
(
'i'
,
{
style
:
'color: red
'
},
message
),
message
:
()
=>
h
(
'span'
,
{
style
:
'color: red; font-style: normal
'
},
message
),
type
:
'error'
type
:
'error'
})
})
}
}
...
...
vite.config.ts
View file @
df037e41
...
@@ -5,13 +5,10 @@ import { resolve } from 'path'
...
@@ -5,13 +5,10 @@ import { resolve } from 'path'
// https://vite.dev/config/
// https://vite.dev/config/
export
default
defineConfig
({
export
default
defineConfig
({
plugins
:
[
plugins
:
[
vue
(),
UnoCSS
()],
vue
(),
UnoCSS
()
],
resolve
:
{
resolve
:
{
alias
:
{
alias
:
{
'@'
:
resolve
(
__dirname
,
'src'
)
,
'@'
:
resolve
(
__dirname
,
'src'
)
}
}
},
},
css
:
{
css
:
{
...
@@ -31,9 +28,9 @@ export default defineConfig({
...
@@ -31,9 +28,9 @@ export default defineConfig({
proxy
:
{
proxy
:
{
// 代理API请求,使用更精确的路径匹配
// 代理API请求,使用更精确的路径匹配
'/api'
:
{
'/api'
:
{
target
:
'http://192.168.0.21
1
:5001/'
,
target
:
'http://192.168.0.21
9
:5001/'
,
changeOrigin
:
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