feat(client): change the order of blocks
This commit is contained in:
parent
f5d6dd7d09
commit
3b8af6e863
@ -1,5 +1,4 @@
|
|||||||
import { gridRowColWrap } from '../utils';
|
import { gridRowColWrap } from '../utils';
|
||||||
import * as chartConfig from './chart-config';
|
|
||||||
|
|
||||||
// 页面里添加区块
|
// 页面里添加区块
|
||||||
export const BlockInitializers = {
|
export const BlockInitializers = {
|
||||||
@ -18,18 +17,6 @@ export const BlockInitializers = {
|
|||||||
title: '{{t("Table")}}',
|
title: '{{t("Table")}}',
|
||||||
component: 'TableBlockInitializer',
|
component: 'TableBlockInitializer',
|
||||||
},
|
},
|
||||||
{
|
|
||||||
key: 'List',
|
|
||||||
type: 'item',
|
|
||||||
title: '{{t("List")}}',
|
|
||||||
component: 'ListBlockInitializer',
|
|
||||||
},
|
|
||||||
{
|
|
||||||
key: 'GridCard',
|
|
||||||
type: 'item',
|
|
||||||
title: '{{t("Grid Card")}}',
|
|
||||||
component: 'GridCardBlockInitializer',
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
key: 'form',
|
key: 'form',
|
||||||
type: 'item',
|
type: 'item',
|
||||||
@ -42,6 +29,18 @@ export const BlockInitializers = {
|
|||||||
title: '{{t("Details")}}',
|
title: '{{t("Details")}}',
|
||||||
component: 'DetailsBlockInitializer',
|
component: 'DetailsBlockInitializer',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'List',
|
||||||
|
type: 'item',
|
||||||
|
title: '{{t("List")}}',
|
||||||
|
component: 'ListBlockInitializer',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: 'GridCard',
|
||||||
|
type: 'item',
|
||||||
|
title: '{{t("Grid Card")}}',
|
||||||
|
component: 'GridCardBlockInitializer',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 'calendar',
|
key: 'calendar',
|
||||||
type: 'item',
|
type: 'item',
|
||||||
|
Loading…
Reference in New Issue
Block a user