no message
Former-commit-id: 55ad03d532809432bd6050a8ccd5d9d6263b86a1 Former-commit-id: 16d572604a68ec53fef6463ac90daabfe2e47dcd Former-commit-id: 1e85541e8b96a001a4713bb92a16a434e739e6dc
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
// 假数据
|
// 假数据
|
||||||
import table from '../../data'
|
import table from './data'
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -13,8 +13,8 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
DemoI18nControl: () => import('../../components/DemoI18nControl'),
|
DemoI18nControl: () => import('./components/DemoI18nControl'),
|
||||||
DemoI18n: () => import('../../components/DemoI18n')
|
DemoI18n: () => import('./components/DemoI18n')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -13,8 +13,8 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
DemoI18nControl: () => import('../../components/DemoI18nControl'),
|
DemoI18nControl: () => import('./components/DemoI18nControl'),
|
||||||
DemoI18n: () => import('../../components/DemoI18n')
|
DemoI18n: () => import('./components/DemoI18n')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
@@ -23,10 +23,10 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import clone from '@/utils/clone.js'
|
import clone from '@/utils/clone.js'
|
||||||
import Mock from 'mockjs'
|
import Mock from 'mockjs'
|
||||||
import settingDPD from '../../data/settingDPD'
|
import settingDPD from './data/settingDPD'
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
MockDemoCard: () => import('../../components/MockDemoCard')
|
MockDemoCard: () => import('./components/MockDemoCard')
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -35,16 +35,16 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import clone from '@/utils/clone.js'
|
import clone from '@/utils/clone.js'
|
||||||
import Mock from 'mockjs'
|
import Mock from 'mockjs'
|
||||||
import settingDTD from '../../data/settingDTD'
|
import settingDTD from './data/settingDTD'
|
||||||
import regexp from '../../mixins/regexp'
|
import regexp from './mixins/regexp'
|
||||||
import fn from '../../mixins/function'
|
import fn from './mixins/function'
|
||||||
export default {
|
export default {
|
||||||
mixins: [
|
mixins: [
|
||||||
regexp,
|
regexp,
|
||||||
fn
|
fn
|
||||||
],
|
],
|
||||||
components: {
|
components: {
|
||||||
MockDemoCard: () => import('../../components/MockDemoCard')
|
MockDemoCard: () => import('./components/MockDemoCard')
|
||||||
},
|
},
|
||||||
data () {
|
data () {
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -9,13 +9,13 @@ const routes = [
|
|||||||
{
|
{
|
||||||
path: '/',
|
path: '/',
|
||||||
redirect: { name: 'index' },
|
redirect: { name: 'index' },
|
||||||
component: resolve => { require(['@/components/core/MainLayout/index.vue'], resolve) },
|
component: () => import('@/components/core/MainLayout/index.vue'),
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'index',
|
path: 'index',
|
||||||
name: 'index',
|
name: 'index',
|
||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
component: resolve => { require(['@/pages/core/index/index.vue'], resolve) }
|
component: () => import('@/pages/core/index/index.vue')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -24,16 +24,32 @@ const routes = [
|
|||||||
name: 'demo-plugins',
|
name: 'demo-plugins',
|
||||||
meta: { requiresAuth: true },
|
meta: { requiresAuth: true },
|
||||||
redirect: { name: 'demo-plugins-index' },
|
redirect: { name: 'demo-plugins-index' },
|
||||||
component: resolve => { require(['@/components/core/MainLayout/index.vue'], resolve) },
|
component: () => import('@/components/core/MainLayout/index.vue'),
|
||||||
children: [
|
children: ((pub) => [
|
||||||
|
{ path: 'build', name: `${pub}build`, component: () => import('@/pages/demo/plugins/build/index.vue') },
|
||||||
]
|
{ path: 'clipboard-polyfill', name: `${pub}clipboard-polyfill`, component: () => import('@/pages/demo/plugins/clipboard-polyfill/index.vue') },
|
||||||
|
{ path: 'export/table', name: `${pub}export-table`, component: () => import('@/pages/demo/plugins/export/table.vue') },
|
||||||
|
{ path: 'export/txt', name: `${pub}export-txt`, component: () => import('@/pages/demo/plugins/export/txt.vue') },
|
||||||
|
{ path: 'i18n/demo1', name: `${pub}i18n-demo1`, component: () => import('@/pages/demo/plugins/i18n/demo1.vue') },
|
||||||
|
{ path: 'i18n/demo2', name: `${pub}i18n-demo2`, component: () => import('@/pages/demo/plugins/i18n/demo2.vue') },
|
||||||
|
{ path: 'i18n/doc', name: `${pub}i18n-doc`, component: () => import('@/pages/demo/plugins/i18n/doc.vue') },
|
||||||
|
{ path: 'import/csv', name: `${pub}import-csv`, component: () => import('@/pages/demo/plugins/import/csv.vue') },
|
||||||
|
{ path: 'import/xlsx', name: `${pub}import-xlsx`, component: () => import('@/pages/demo/plugins/import/xlsx.vue') },
|
||||||
|
{ path: 'index', name: `${pub}index`, component: () => import('@/pages/demo/plugins/index/index.vue') },
|
||||||
|
{ path: 'js-cookie', name: `${pub}js-cookie`, component: () => import('@/pages/demo/plugins/js-cookie/index.vue') },
|
||||||
|
{ path: 'layout/grid', name: `${pub}layout-grid`, component: () => import('@/pages/demo/plugins/layout/grid.vue') },
|
||||||
|
{ path: 'layout/splitpane', name: `${pub}layout-splitpane`, component: () => import('@/pages/demo/plugins/layout/splitpane.vue') },
|
||||||
|
{ path: 'mock/ajax', name: `${pub}mock-ajax`, component: () => import('@/pages/demo/plugins/mock/ajax.vue') },
|
||||||
|
{ path: 'mock/dpd', name: `${pub}mock-dpd`, component: () => import('@/pages/demo/plugins/mock/dpd.vue') },
|
||||||
|
{ path: 'mock/dtd', name: `${pub}mock-dtd`, component: () => import('@/pages/demo/plugins/mock/dtd.vue') },
|
||||||
|
{ path: 'timeago', name: `${pub}timeago`, component: () => import('@/pages/demo/plugins/timeago/index.vue') }
|
||||||
|
])('demo-plugins-')
|
||||||
},
|
},
|
||||||
// 登陆
|
// 登陆
|
||||||
{
|
{
|
||||||
path: '/login',
|
path: '/login',
|
||||||
name: 'login',
|
name: 'login',
|
||||||
component: resolve => { require(['@/pages/core/login/index.vue'], resolve) }
|
component: () => import('@/pages/core/login/index.vue')
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user