feat(client): change the order of blocks

This commit is contained in:
chenos 2023-05-17 11:36:41 +08:00
parent f5d6dd7d09
commit 3b8af6e863

View File

@ -1,5 +1,4 @@
import { gridRowColWrap } from '../utils';
import * as chartConfig from './chart-config';
// 页面里添加区块
export const BlockInitializers = {
@ -18,18 +17,6 @@ export const BlockInitializers = {
title: '{{t("Table")}}',
component: 'TableBlockInitializer',
},
{
key: 'List',
type: 'item',
title: '{{t("List")}}',
component: 'ListBlockInitializer',
},
{
key: 'GridCard',
type: 'item',
title: '{{t("Grid Card")}}',
component: 'GridCardBlockInitializer',
},
{
key: 'form',
type: 'item',
@ -42,6 +29,18 @@ export const BlockInitializers = {
title: '{{t("Details")}}',
component: 'DetailsBlockInitializer',
},
{
key: 'List',
type: 'item',
title: '{{t("List")}}',
component: 'ListBlockInitializer',
},
{
key: 'GridCard',
type: 'item',
title: '{{t("Grid Card")}}',
component: 'GridCardBlockInitializer',
},
{
key: 'calendar',
type: 'item',