mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-04 21:08:55 +08:00
[amis-saas-4806] style: 动作设置表单label左对齐
Change-Id: I0931f98dce73d46b9bf93adc73d7fb60e575ed5e
This commit is contained in:
parent
066b6aee6d
commit
f99bfc98b7
@ -423,7 +423,7 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
|
||||
},
|
||||
schema: {
|
||||
type: 'wrapper',
|
||||
style: {padding: '0 0 0 32px'},
|
||||
style: {padding: '0'},
|
||||
body: [
|
||||
getArgsWrapper(
|
||||
getSchemaTpl('apiControl', {
|
||||
@ -440,7 +440,7 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
|
||||
innerArgs: ['api'],
|
||||
schema: {
|
||||
type: 'wrapper',
|
||||
style: {padding: '0 0 0 32px'},
|
||||
style: {padding: '0'},
|
||||
body: [
|
||||
getArgsWrapper(
|
||||
getSchemaTpl('apiControl', {
|
||||
@ -860,7 +860,7 @@ const ACTION_TYPE_TREE = (manager: any): RendererPluginAction[] => {
|
||||
label: '自定义JS',
|
||||
mode: 'horizontal',
|
||||
className: 'ae-event-control-action-js-editor',
|
||||
value: `/* 自定义JS使用说明:
|
||||
value: `/* 自定义JS使用说明:
|
||||
* 1.动作执行函数doAction,可以执行所有类型的动作
|
||||
* 2.通过上下文对象context可以获取当前组件实例,例如context.props可以获取该组件相关属性
|
||||
* 3.事件对象event,在doAction之后执行event.stopPropagation = true;可以阻止后续动作执行
|
||||
|
Loading…
Reference in New Issue
Block a user