fix:更新设置 #23
@ -14,8 +14,8 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api/': {
|
'/api/': {
|
||||||
// target: 'http://10.39.13.78:8001/',
|
target: 'http://10.39.13.78:8001/',
|
||||||
target: 'https://test-admin.linyikj.com.cn/',
|
// target: 'https://test-admin.linyikj.com.cn/',
|
||||||
// target: 'https://admin.linyikj.com.cn/',
|
// target: 'https://admin.linyikj.com.cn/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: { '^': '' },
|
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 { MyIcons, MyIconsType, PermissionsType, useMyState } from '@/common';
|
||||||
import { Link, RuntimeConfig, history } from '@umijs/max';
|
import { Link, RuntimeConfig, history } from '@umijs/max';
|
||||||
import AvatarProps from '../../components/layout/AvatarProps';
|
import AvatarProps from '../../components/layout/AvatarProps';
|
||||||
@ -33,7 +33,8 @@ export const LayoutConfig: RuntimeConfig['layout'] = () => {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
title: snap.session.campus?.name ?? '总后台',
|
title: snap.session.campus?.name ?? '总后台',
|
||||||
logo: <img src={Logo} style={{ height: '30px' }} />,
|
// logo: <img src={Logo} style={{ height: '30px' }} />,
|
||||||
|
logo: <></>,
|
||||||
layout: 'mix',
|
layout: 'mix',
|
||||||
colorPrimary: '#1890ff',
|
colorPrimary: '#1890ff',
|
||||||
siderWidth: 220,
|
siderWidth: 220,
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
export const defaultMenu = [
|
export const defaultMenu = [
|
||||||
{
|
{
|
||||||
pagePath: 'pages/index/index',
|
pagePath: '/pages/index/index',
|
||||||
text: '首页',
|
text: '首页',
|
||||||
iconPath: [
|
iconPath: [
|
||||||
{
|
{
|
||||||
@ -19,7 +19,7 @@ export const defaultMenu = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: '我的',
|
text: '我的',
|
||||||
pagePath: 'pages/me/index',
|
pagePath: '/pages/me/index',
|
||||||
iconPath: [
|
iconPath: [
|
||||||
{
|
{
|
||||||
name: '我的默认图标',
|
name: '我的默认图标',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user