增加v2提示
Former-commit-id: 323d93c923ba7f72be19bbaae3561af0e3d9f310 [formerly 323d93c923ba7f72be19bbaae3561af0e3d9f310 [formerly 323d93c923ba7f72be19bbaae3561af0e3d9f310 [formerly 323d93c923ba7f72be19bbaae3561af0e3d9f310 [formerly 08e35c62bad7dc4953a59c6f4cf46f2eb3ecc8e5 [formerly e4e77f080e7a1df39991a9c1a5b98acc97251d3d]]]]] Former-commit-id: 534db8219123d054add25f47f554b3c1e7582600 Former-commit-id: 35e3c2230d26a7acc77049a229df17e159f6a60c Former-commit-id: 9fd049675d579f76895c7ff95b3b3a2e240fb817 [formerly 6c98588520b7fbe862ca71877def1965e99f6cbf] Former-commit-id: 9f546f622a57c165204c5b9225e563845b2cfef7 Former-commit-id: 0b62a004ee742026bc8ccce806daf686e6d712f9 Former-commit-id: 226e89d8757563aa4bf94df22569cc778d769bca Former-commit-id: 98859f7d50659da84dc7ae73574fe3a0fbc9704d Former-commit-id: 8f2688d8e9c62dad738414d53f5e4cdf0de66f45
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
export default {
|
||||
path: '/demo/d2-crud',
|
||||
title: 'D2 CRUD',
|
||||
title: 'D2 CRUD v2',
|
||||
iconSvg: 'd2-crud',
|
||||
children: (pre => [
|
||||
{ path: `${pre}index`, title: 'D2 CRUD ', icon: 'home' },
|
||||
{ path: `${pre}index`, title: 'D2 CRUD v2', icon: 'home' },
|
||||
{
|
||||
title: '基础功能',
|
||||
children: [
|
||||
|
||||
@@ -1,6 +1,14 @@
|
||||
<template>
|
||||
<d2-container :filename="filename" type="ghost">
|
||||
<d2-module-index-banner slot="header" v-bind="banner"/>
|
||||
<el-alert
|
||||
title="目前 d2-crud 已经升级至 2.x,并且和 1.x 存在一些 API 不兼容,如果您使用的是 1.x,请点击此消息跳转至旧版示例"
|
||||
type="warning"
|
||||
:closable="false"
|
||||
class="d2-mt"
|
||||
show-icon
|
||||
@click.native="$open('https://v1.d2-crud.fairyever.com/#/d2-crud/index')">
|
||||
</el-alert>
|
||||
<d2-module-index-menu :menu="menu"/>
|
||||
</d2-container>
|
||||
</template>
|
||||
@@ -13,7 +21,7 @@ export default {
|
||||
filename: __filename,
|
||||
menu,
|
||||
banner: {
|
||||
title: 'D2 CRUD',
|
||||
title: 'D2 CRUD v2',
|
||||
subTitle: 'D2 Crud 是一个基于 Vue.js 和 Element UI 的表格组件,封装了常用的表格操作。',
|
||||
link: 'https://github.com/d2-projects/d2-crud'
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ export default {
|
||||
redirect: { name: 'demo-d2-crud-index' },
|
||||
component: layoutHeaderAside,
|
||||
children: (pre => [
|
||||
{ path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/d2-crud/index'), meta: { ...meta, title: 'D2 CRUD 首页' } },
|
||||
{ path: 'index', name: `${pre}index`, component: () => import('@/pages/demo/d2-crud/index'), meta: { ...meta, title: 'D2 CRUD v2 首页' } },
|
||||
{ path: 'demo1', name: `${pre}demo1`, component: () => import('@/pages/demo/d2-crud/demo1'), meta: { ...meta, title: '基础表格' } },
|
||||
{ path: 'demo2', name: `${pre}demo2`, component: () => import('@/pages/demo/d2-crud/demo2'), meta: { ...meta, title: '带斑马纹表格' } },
|
||||
{ path: 'demo3', name: `${pre}demo3`, component: () => import('@/pages/demo/d2-crud/demo3'), meta: { ...meta, title: '带边框表格' } },
|
||||
|
||||
Reference in New Issue
Block a user