fix: add mode to view options

This commit is contained in:
chenos 2021-01-12 23:00:44 +08:00
parent 30b006bb45
commit b9f74197d3
4 changed files with 7 additions and 3 deletions

View File

@ -134,7 +134,8 @@ export default {
type: 'table', type: 'table',
name: 'simple', name: 'simple',
title: '简易模式', title: '简易模式',
template: 'SimpleTable', template: 'Table',
mode: 'simple',
default: true, default: true,
actionNames: ['destroy', 'create'], actionNames: ['destroy', 'create'],
detailsViewName: 'details', detailsViewName: 'details',

View File

@ -536,7 +536,8 @@ export default {
type: 'table', type: 'table',
name: 'simple', name: 'simple',
title: '简易模式', title: '简易模式',
template: 'SimpleTable', template: 'Table',
mode: 'simple',
default: true, default: true,
actionNames: ['destroy', 'create'], actionNames: ['destroy', 'create'],
detailsViewName: 'details', detailsViewName: 'details',

View File

@ -277,7 +277,8 @@ export default {
type: 'table', type: 'table',
name: 'simple', name: 'simple',
title: '简易模式', title: '简易模式',
template: 'SimpleTable', template: 'Table',
mode: 'simple',
default: true, default: true,
actionNames: ['destroy', 'create'], actionNames: ['destroy', 'create'],
detailsViewName: 'details', detailsViewName: 'details',

View File

@ -388,6 +388,7 @@ export default {
name: 'simple', name: 'simple',
title: '简易模式', title: '简易模式',
template: 'SimpleTable', template: 'SimpleTable',
mode: 'simple',
default: true, default: true,
actionNames: ['destroy', 'create'], actionNames: ['destroy', 'create'],
detailsViewName: 'details', detailsViewName: 'details',