mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-01 03:28:20 +08:00
fix:修复下载请求动作样式&ts问题
Change-Id: I82130adce5d0d5fa370b885b3baed7fa6e79e39e
This commit is contained in:
parent
f106e0ac45
commit
0ca61174e5
@ -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
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
|
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user