mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-16 01:40:53 +08:00
fix:修复timeline 和 input-image 小问题
Change-Id: I33b97f4ef74bcd0b6f8c7ee5c544046c708b4632
This commit is contained in:
parent
b9645bce9d
commit
0fe03c77ef
@ -41,6 +41,7 @@ export class ImageControlPlugin extends BasePlugin {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
notRenderFormZone = true;
|
||||||
|
|
||||||
// 事件定义
|
// 事件定义
|
||||||
events: RendererPluginEvent[] = [
|
events: RendererPluginEvent[] = [
|
||||||
@ -123,7 +124,7 @@ export class ImageControlPlugin extends BasePlugin {
|
|||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
panelTitle = '图片上传';
|
|
||||||
panelJustify = true;
|
panelJustify = true;
|
||||||
|
|
||||||
panelBodyCreator = (context: BaseEventContext) => {
|
panelBodyCreator = (context: BaseEventContext) => {
|
||||||
|
@ -1,11 +1,10 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import {getEventControlConfig} from '../util';
|
import {getEventControlConfig} from '../renderer/event-control/helper';
|
||||||
import {tipedLabel} from '../component/BaseControl';
|
import {tipedLabel} from '../component/BaseControl';
|
||||||
import {
|
import {
|
||||||
registerEditorPlugin,
|
registerEditorPlugin,
|
||||||
getSchemaTpl
|
getSchemaTpl
|
||||||
} from 'amis-editor-core';
|
} from 'amis-editor-core';
|
||||||
import { RendererEvent } from 'amis-editor-comp/dist/renderers/event-action';
|
|
||||||
import {BasePlugin, BaseEventContext} from 'amis-editor-core';
|
import {BasePlugin, BaseEventContext} from 'amis-editor-core';
|
||||||
|
|
||||||
export class TimelinePlugin extends BasePlugin {
|
export class TimelinePlugin extends BasePlugin {
|
||||||
@ -33,7 +32,7 @@ export class TimelinePlugin extends BasePlugin {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// TODO 事件定义
|
// TODO 事件定义
|
||||||
events: RendererEvent[] = [];
|
// events = [];
|
||||||
|
|
||||||
panelTitle = '时间轴';
|
panelTitle = '时间轴';
|
||||||
panelJustify = true;
|
panelJustify = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user