Commit 66a2bf93 authored by 何远江's avatar 何远江

样式调整

parent 330ace2f
@import 'vxe-table/lib/style.css'; @import 'vxe-table/lib/style.css';
html.vxe-custom { html.vxe-custom {
--vxe-table-border-width: 0px; --vxe-table-border-width: 1px;
--vxe-table-header-background-color: #f6f8fc; --vxe-table-header-background-color: #f6f8fc;
} }
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<RouterView> <RouterView>
<template #default="{ Component, route }"> <template #default="{ Component, route }">
<transition name="fade-slide" mode="out-in" appear> <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"> <keep-alive v-if="route.meta?.keepAlive">
<component :is="Component" :key="route.path"></component> <component :is="Component" :key="route.path"></component>
</keep-alive> </keep-alive>
......
...@@ -84,6 +84,7 @@ const transform: AxiosTransform = { ...@@ -84,6 +84,7 @@ const transform: AxiosTransform = {
const { status } = response const { status } = response
console.log('responseInterceptorsCatch', error) console.log('responseInterceptorsCatch', error)
if (status === 403) { if (status === 403) {
Message.destroy()
Message.error('登录过期,请重新登录!') Message.error('登录过期,请重新登录!')
const userStore = useUserStore() const userStore = useUserStore()
......
...@@ -32,7 +32,7 @@ export default defineConfig({ ...@@ -32,7 +32,7 @@ export default defineConfig({
host: '0.0.0.0', host: '0.0.0.0',
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.66.135:8070', target: 'http://192.168.66.135:8080',
changeOrigin: true, changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '') rewrite: (path) => path.replace(/^\/api/, '')
} }
......
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