fix:更新设置
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m54s

This commit is contained in:
Your Name 2026-01-27 15:21:02 +08:00
parent f922c4672e
commit 4c4992d8d5
3 changed files with 7 additions and 6 deletions

View File

@ -14,8 +14,8 @@ export default defineConfig({
},
proxy: {
'/api/': {
// target: 'http://10.39.13.78:8001/',
target: 'https://test-admin.linyikj.com.cn/',
target: 'http://10.39.13.78:8001/',
// target: 'https://test-admin.linyikj.com.cn/',
// target: 'https://admin.linyikj.com.cn/',
changeOrigin: true,
pathRewrite: { '^': '' },

View File

@ -1,4 +1,4 @@
import Logo from '@/assets/bitcoin.webp';
// import Logo from '@/assets/bitcoin.webp';
import { MyIcons, MyIconsType, PermissionsType, useMyState } from '@/common';
import { Link, RuntimeConfig, history } from '@umijs/max';
import AvatarProps from '../../components/layout/AvatarProps';
@ -33,7 +33,8 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => {
return {
title: snap.session.campus?.name ?? '总后台',
logo: <img src={Logo} style={{ height: '30px' }} />,
// logo: <img src={Logo} style={{ height: '30px' }} />,
logo: <></>,
layout: 'mix',
colorPrimary: '#1890ff',
siderWidth: 220,

View File

@ -1,6 +1,6 @@
export const defaultMenu = [
{
pagePath: 'pages/index/index',
pagePath: '/pages/index/index',
text: '首页',
iconPath: [
{
@ -19,7 +19,7 @@ export const defaultMenu = [
},
{
text: '我的',
pagePath: 'pages/me/index',
pagePath: '/pages/me/index',
iconPath: [
{
name: '我的默认图标',