基本文件创建
Former-commit-id: 6c81510ba7f2b764f260a2d83a206c6114eb8924 [formerly 6c81510ba7f2b764f260a2d83a206c6114eb8924 [formerly 6c81510ba7f2b764f260a2d83a206c6114eb8924 [formerly 6c81510ba7f2b764f260a2d83a206c6114eb8924 [formerly da3bffe6cb5f4c8e5460ffff8b2d24912a1eca6a [formerly 74f20da195f1bba4e8ba50ceb4760bc92d85de56]]]]] Former-commit-id: 88b3d286a981b43de86cc56b968bd290abf3e1bc Former-commit-id: 84a7018334067c21dca398c3d791b517e4e07882 Former-commit-id: 85c1692d38095029c67a788ba353f842e4709f57 [formerly 0ef458e86faef7189e6f1264f2621fd7f3cef49c] Former-commit-id: 65c90339852c903c2dee65ccdf1d098e30c25c0c Former-commit-id: 325a0f780d7cd68d0fe8da378bde8857524dbb8c Former-commit-id: dd5c0c22f00bff0bfc44e8a9819d2bfc0a229a9c Former-commit-id: 82d946c1130070a54ccaad40c59a86f832f36a68 Former-commit-id: 8911cee5b21115d285cc0fb9b71b2b525fba4bb0
This commit is contained in:
@@ -10,6 +10,8 @@ import demoElement from './modules/demo-element'
|
|||||||
import demoPlayground from './modules/demo-playground'
|
import demoPlayground from './modules/demo-playground'
|
||||||
// 示例
|
// 示例
|
||||||
import demoBusiness from './modules/demo-business'
|
import demoBusiness from './modules/demo-business'
|
||||||
|
// 示例
|
||||||
|
import demoD2Crud from './modules/demo-d2-crud'
|
||||||
|
|
||||||
// 菜单 侧边栏
|
// 菜单 侧边栏
|
||||||
export const menuAside = [
|
export const menuAside = [
|
||||||
@@ -18,7 +20,8 @@ export const menuAside = [
|
|||||||
demoCharts,
|
demoCharts,
|
||||||
demoElement,
|
demoElement,
|
||||||
demoPlayground,
|
demoPlayground,
|
||||||
demoBusiness
|
demoBusiness,
|
||||||
|
demoD2Crud
|
||||||
]
|
]
|
||||||
|
|
||||||
// 菜单 顶栏
|
// 菜单 顶栏
|
||||||
@@ -32,6 +35,7 @@ export const menuHeader = [
|
|||||||
title: '功能',
|
title: '功能',
|
||||||
icon: 'puzzle-piece',
|
icon: 'puzzle-piece',
|
||||||
children: [
|
children: [
|
||||||
|
demoD2Crud,
|
||||||
demoComponents,
|
demoComponents,
|
||||||
demoElement,
|
demoElement,
|
||||||
demoCharts,
|
demoCharts,
|
||||||
|
|||||||
9
src/menu/modules/demo-d2-crud.js
Normal file
9
src/menu/modules/demo-d2-crud.js
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
export default {
|
||||||
|
path: '/demo/d2-crud',
|
||||||
|
title: 'D2 CRUD',
|
||||||
|
icon: 'table',
|
||||||
|
children: (pre => [
|
||||||
|
{ path: `${pre}index`, title: 'D2 CRUD 首页', icon: 'home' },
|
||||||
|
{ path: `${pre}demo1`, title: '示例1' }
|
||||||
|
])('/demo/d2-crud/')
|
||||||
|
}
|
||||||
9
src/pages/demo/d2-crud/demo1/index.vue
Normal file
9
src/pages/demo/d2-crud/demo1/index.vue
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<template>
|
||||||
|
<d2-container>
|
||||||
|
<template slot="header">header</template>
|
||||||
|
main
|
||||||
|
<template slot="footer">
|
||||||
|
<d2-link-btn title="D2 CRUD" link="https://github.com/d2-projects"/>
|
||||||
|
</template>
|
||||||
|
</d2-container>
|
||||||
|
</template>
|
||||||
9
src/pages/demo/d2-crud/index/index.vue
Normal file
9
src/pages/demo/d2-crud/index/index.vue
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
<template>
|
||||||
|
<d2-container>
|
||||||
|
<d2-page-cover
|
||||||
|
title="D2 CRUD"
|
||||||
|
sub-title="表格封装">
|
||||||
|
<img src="./image/icon.png">
|
||||||
|
</d2-page-cover>
|
||||||
|
</d2-container>
|
||||||
|
</template>
|
||||||
@@ -1 +1 @@
|
|||||||
d1701498ab5c7359fcd9d5098540ae29b236d7ee
|
bd272213cf5328eff3aabfe6d4aea9c30c5833e3
|
||||||
Reference in New Issue
Block a user