增加日期相关的 filter 和更新一些菜单的显示
Former-commit-id: bacfe4e86ce0599752cc74916bb9547add6b0725 [formerly bacfe4e86ce0599752cc74916bb9547add6b0725 [formerly bacfe4e86ce0599752cc74916bb9547add6b0725 [formerly bacfe4e86ce0599752cc74916bb9547add6b0725 [formerly f5ed703f2aefb46bd7a6dd7dbb6d141cd43dec08 [formerly b679a8fecf5a7d908d20d57b1098d9c4708574c3]]]]] Former-commit-id: 36c9337dc53258282bc83ed7b52a88c617a75a66 Former-commit-id: b418eed9356e5de890b70a8ccaa93ee1abbd30bf Former-commit-id: e06310cdc83cd1c614e523f33558d2cb303ca81f [formerly 20341d1ed3372bfe16f777a177710894ca29f378] Former-commit-id: 1795ddf1c595363c49c3d6530e2a552aa7906edd Former-commit-id: 38c0384164faa36103bc9ee5d881cdacf367bbb4 Former-commit-id: 0a13e600fb5a8add5a282304dc2f26d35e711572 Former-commit-id: 5845a0b7620bd23f145b02cbe0427eb351792e6a Former-commit-id: a8aeed67fd895c549600e636cf16094197c1891a
This commit is contained in:
@@ -6,6 +6,8 @@ import demoComponents from './modules/demo-components'
|
||||
import demoCharts from './modules/demo-charts'
|
||||
// 组件库
|
||||
import demoElement from './modules/demo-element'
|
||||
// 组件库
|
||||
import demoFilters from './modules/demo-filters'
|
||||
// 试验台
|
||||
import demoPlayground from './modules/demo-playground'
|
||||
// 示例
|
||||
@@ -21,6 +23,7 @@ export const menuAside = [
|
||||
demoPlugins,
|
||||
demoCharts,
|
||||
demoElement,
|
||||
demoFilters,
|
||||
demoPlayground,
|
||||
demoBusiness,
|
||||
demoD2Crud,
|
||||
@@ -40,6 +43,7 @@ export const menuHeader = [
|
||||
children: [
|
||||
demoD2Crud,
|
||||
demoComponents,
|
||||
demoFilters,
|
||||
demoElement,
|
||||
demoCharts,
|
||||
demoPlugins,
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '示例',
|
||||
icon: 'flask',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '示例首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '示例', icon: 'home' },
|
||||
{
|
||||
title: '表格',
|
||||
icon: 'table',
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '图表',
|
||||
icon: 'line-chart',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '图表首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '图表', icon: 'home' },
|
||||
{
|
||||
path: `${pre}list`,
|
||||
title: '图表',
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '内置组件',
|
||||
icon: 'puzzle-piece',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '扩展组件首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '扩展组件', icon: 'home' },
|
||||
{
|
||||
path: `${pre}container`,
|
||||
title: '布局容器',
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: 'D2 CRUD',
|
||||
iconSvg: 'd2-crud',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: 'D2 CRUD 首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: 'D2 CRUD ', icon: 'home' },
|
||||
{
|
||||
title: '基础功能',
|
||||
children: [
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '基础组件库',
|
||||
icon: 'cubes',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '基础组件库首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '基础组件库', icon: 'home' },
|
||||
{
|
||||
path: `${pre}basic`,
|
||||
title: '基础',
|
||||
|
||||
9
src/menu/modules/demo-filters.js
Normal file
9
src/menu/modules/demo-filters.js
Normal file
@@ -0,0 +1,9 @@
|
||||
export default {
|
||||
path: '/demo/filters',
|
||||
title: '内置过滤器',
|
||||
icon: 'flask',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '内置过滤器', icon: 'home' },
|
||||
{ path: `${pre}day`, title: '日期和时间', icon: 'calendar' }
|
||||
])('/demo/filters/')
|
||||
}
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '内嵌网页',
|
||||
icon: 'globe',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: 'Frame 首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: 'Frame ', icon: 'home' },
|
||||
{ path: `${pre}d2-doc`, title: 'D2Admin 中文文档', iconSvg: 'd2-admin' },
|
||||
{ path: `${pre}html`, title: '静态 HTML', icon: 'code' }
|
||||
])('/demo/frame/')
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '试验台',
|
||||
icon: 'flask',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '试验台首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '试验台', icon: 'home' },
|
||||
{
|
||||
title: 'svg 菜单图标',
|
||||
iconSvg: 'd2-admin',
|
||||
|
||||
@@ -3,7 +3,7 @@ export default {
|
||||
title: '插件',
|
||||
icon: 'plug',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: '插件首页', icon: 'home' },
|
||||
{ path: `${pre}index`, title: '插件', icon: 'home' },
|
||||
{
|
||||
path: `${pre}mock`,
|
||||
title: '模拟数据',
|
||||
|
||||
Reference in New Issue
Block a user