This commit is contained in:
parent
f922c4672e
commit
4c4992d8d5
@ -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: { '^': '' },
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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: '我的默认图标',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user