fix:修复下载请求动作样式&ts问题

Change-Id: I82130adce5d0d5fa370b885b3baed7fa6e79e39e
This commit is contained in:
hsm-lv 2022-07-29 14:36:41 +08:00
parent f106e0ac45
commit 0ca61174e5
2 changed files with 6 additions and 2 deletions

View File

@ -509,7 +509,11 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
body: [ body: [
getArgsWrapper( getArgsWrapper(
getSchemaTpl('apiControl', { getSchemaTpl('apiControl', {
name: 'api' name: 'api',
label: '配置请求',
mode: 'horizontal',
size: 'lg',
required: true
}) })
) )
] ]

View File

@ -976,7 +976,7 @@ export const getEventControlConfig = (
true true
); );
const checkComponent = (node: any, action: RendererPluginAction) => { const checkComponent = (node: any, action: RendererPluginAction) => {
const actionType = action.actionType; const actionType = action.actionType!;
const actions = manager?.pluginActions[node.type]; const actions = manager?.pluginActions[node.type];
const haveChild = !!node.children?.length; const haveChild = !!node.children?.length;
let isSupport = false; let isSupport = false;