Commit df037e41 by liucan

fix:修复爬虫错误提示文字有部分斜体的问题

parent bcb85867
# 开发环境配置
VITE_APP_BASE_API = '/api'
VITE_APP_TITLE = 'Spider Admin Pro'
VITE_WEBSOCKET_API = "http://192.168.0.211:5001/"
\ No newline at end of file
VITE_WEBSOCKET_API = "http://192.168.0.219:5001/"
\ No newline at end of file
......@@ -22,7 +22,7 @@ const handleErrorMsgNotify = () => {
const onErrorMsg = ({ message }: { message: any }) => {
ElNotification({
title: '爬虫错误提示',
message: h('i', { style: 'color: red' }, message),
message: () => h('span', { style: 'color: red; font-style: normal' }, message),
type: 'error'
})
}
......
......@@ -5,13 +5,10 @@ import { resolve } from 'path'
// https://vite.dev/config/
export default defineConfig({
plugins: [
vue(),
UnoCSS()
],
plugins: [vue(), UnoCSS()],
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
'@': resolve(__dirname, 'src')
}
},
css: {
......@@ -31,9 +28,9 @@ export default defineConfig({
proxy: {
// 代理API请求,使用更精确的路径匹配
'/api': {
target: 'http://192.168.0.211:5001/',
changeOrigin: true,
},
target: 'http://192.168.0.219:5001/',
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