mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-27 15:50:17 +08:00
feat(projects): 新增网址导航页面
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
export * from './auth';
|
||||
export * from './demo';
|
||||
export * from './website';
|
||||
|
||||
18
src/interface/business/website.ts
Normal file
18
src/interface/business/website.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
/** 网址导航 */
|
||||
export interface Website {
|
||||
/** 网址名称 */
|
||||
title: string;
|
||||
/** 网址简称 */
|
||||
abbr: string;
|
||||
/** 网址图标(网络地址,形状为正方形) */
|
||||
logo: string;
|
||||
/** 描述 */
|
||||
desc: string;
|
||||
}
|
||||
|
||||
/** 网址导航 分类 */
|
||||
export interface WebsiteCategory {
|
||||
/** 分类名称 */
|
||||
title: string;
|
||||
children: WebsiteCategory[] | Website[];
|
||||
}
|
||||
@@ -55,4 +55,5 @@ export type RouteKey =
|
||||
| 'exception_403'
|
||||
| 'exception_404'
|
||||
| 'exception_500'
|
||||
| 'about';
|
||||
| 'about'
|
||||
| 'website';
|
||||
|
||||
Reference in New Issue
Block a user