Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-baoshen-pc
Project
Project
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
何远江
topsun-baoshen-pc
Commits
66a2bf93
Commit
66a2bf93
authored
Nov 06, 2023
by
何远江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
样式调整
parent
330ace2f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
style.css
src/assets/vxe-table/style.css
+1
-1
index.vue
src/layouts/page/index.vue
+1
-1
index.ts
src/utils/axios/index.ts
+1
-0
vite.config.ts
vite.config.ts
+1
-1
No files found.
src/assets/vxe-table/style.css
View file @
66a2bf93
@import
'vxe-table/lib/style.css'
;
html
.vxe-custom
{
--vxe-table-border-width
:
0
px
;
--vxe-table-border-width
:
1
px
;
--vxe-table-header-background-color
:
#f6f8fc
;
}
\ No newline at end of file
src/layouts/page/index.vue
View file @
66a2bf93
...
...
@@ -2,7 +2,7 @@
<RouterView>
<template
#
default=
"
{ Component, route }">
<transition
name=
"fade-slide"
mode=
"out-in"
appear
>
<div
:key=
"route.path"
>
<div
:key=
"route.path"
:style=
"
{height: '100%'}"
>
<keep-alive
v-if=
"route.meta?.keepAlive"
>
<component
:is=
"Component"
:key=
"route.path"
></component>
</keep-alive>
...
...
src/utils/axios/index.ts
View file @
66a2bf93
...
...
@@ -84,6 +84,7 @@ const transform: AxiosTransform = {
const
{
status
}
=
response
console
.
log
(
'responseInterceptorsCatch'
,
error
)
if
(
status
===
403
)
{
Message
.
destroy
()
Message
.
error
(
'登录过期,请重新登录!'
)
const
userStore
=
useUserStore
()
...
...
vite.config.ts
View file @
66a2bf93
...
...
@@ -32,7 +32,7 @@ export default defineConfig({
host
:
'0.0.0.0'
,
proxy
:
{
'/api'
:
{
target
:
'http://192.168.66.135:80
7
0'
,
target
:
'http://192.168.66.135:80
8
0'
,
changeOrigin
:
true
,
rewrite
:
(
path
)
=>
path
.
replace
(
/^
\/
api/
,
''
)
}
...
...
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