-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from coverjs/36-adekang
36 添加固定首页至菜单栏最顶部
- Loading branch information
Showing
13 changed files
with
56 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
export enum PageEnum { | ||
BASE_LOGIN = '/login', | ||
BASE_HOME = '/', | ||
BASE_INDEX = '/', | ||
BASE_HOME = '/home', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -145,6 +145,9 @@ | |
"userAdmin": "用户管理", | ||
"roleAdmin": "角色管理", | ||
"menuAdmin": "菜单管理" | ||
}, | ||
"home": { | ||
"home": "首页" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<script setup lang="ts"> | ||
import welcomeImg from '@/assets/welcome.png'; | ||
defineOptions({ | ||
name: 'HomePage', | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<img class="welcome-img" :src="welcomeImg" alt="welcomeImg" /> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.welcome-img { | ||
width: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<script setup lang="ts"> | ||
import welcomImg from '@/assets/welcome.png'; | ||
import welcomeImg from '@/assets/welcome.png'; | ||
defineOptions({ | ||
name: 'HomePage', | ||
name: 'PageIndex', | ||
}); | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<img class="welcom-img" :src="welcomImg" alt="welcomImg" /> | ||
<img class="welcome-img" :src="welcomeImg" alt="welcomeImg" /> | ||
</div> | ||
</template> | ||
|
||
<style lang="scss" scoped> | ||
.welcom-img { | ||
.welcome-img { | ||
width: 100%; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ const columns = [ | |
key: 'icon', | ||
}, | ||
{ | ||
title: '组件', | ||
title: '路由', | ||
dataIndex: 'path', | ||
key: 'path', | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters