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

样式调整

parent 330ace2f
@import 'vxe-table/lib/style.css';
html.vxe-custom {
--vxe-table-border-width: 0px;
--vxe-table-border-width: 1px;
--vxe-table-header-background-color: #f6f8fc;
}
\ No newline at end of file
......@@ -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>
......
......@@ -84,6 +84,7 @@ const transform: AxiosTransform = {
const { status } = response
console.log('responseInterceptorsCatch', error)
if (status === 403) {
Message.destroy()
Message.error('登录过期,请重新登录!')
const userStore = useUserStore()
......
......@@ -32,7 +32,7 @@ export default defineConfig({
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://192.168.66.135:8070',
target: 'http://192.168.66.135:8080',
changeOrigin: true,
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