fix:修复timeline 和 input-image 小问题

Change-Id: I33b97f4ef74bcd0b6f8c7ee5c544046c708b4632
This commit is contained in:
jiatianqi 2022-08-11 20:08:08 +08:00
parent b9645bce9d
commit 0fe03c77ef
2 changed files with 4 additions and 4 deletions

View File

@ -41,6 +41,7 @@ export class ImageControlPlugin extends BasePlugin {
}
]
};
notRenderFormZone = true;
// 事件定义
events: RendererPluginEvent[] = [
@ -123,7 +124,7 @@ export class ImageControlPlugin extends BasePlugin {
}
];
panelTitle = '图片上传';
panelJustify = true;
panelBodyCreator = (context: BaseEventContext) => {

View File

@ -1,11 +1,10 @@
import React from 'react';
import {getEventControlConfig} from '../util';
import {getEventControlConfig} from '../renderer/event-control/helper';
import {tipedLabel} from '../component/BaseControl';
import {
registerEditorPlugin,
getSchemaTpl
} from 'amis-editor-core';
import { RendererEvent } from 'amis-editor-comp/dist/renderers/event-action';
import {BasePlugin, BaseEventContext} from 'amis-editor-core';
export class TimelinePlugin extends BasePlugin {
@ -33,7 +32,7 @@ export class TimelinePlugin extends BasePlugin {
};
// TODO 事件定义
events: RendererEvent[] = [];
// events = [];
panelTitle = '时间轴';
panelJustify = true;