mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2026-11-06 10:00:48 +00:00
fix(editor): 事件动作与高级配置表单标签改用固定宽度
This commit is contained in:
parent
c2272b12d8
commit
b4747c3e89
@ -240,7 +240,7 @@ export const createActionsConfig = (config: EventSelectConfig): GroupListConfig
|
||||
expandAll: true,
|
||||
enableToggleMode: false,
|
||||
titlePrefix: '动作',
|
||||
labelPosition: 'top',
|
||||
labelWidth: '90px',
|
||||
flat: true,
|
||||
...stickyAddButton('新增动作'),
|
||||
items: [
|
||||
|
||||
@ -176,9 +176,9 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
{
|
||||
name: 'created',
|
||||
text: 'Created',
|
||||
labelPosition: 'top',
|
||||
type: 'code-select',
|
||||
titleExtra: '组件初始化时执行',
|
||||
labelWidth: '90px',
|
||||
rules: [
|
||||
{ typeMatch: true, trigger: 'change' },
|
||||
{
|
||||
@ -194,8 +194,8 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
{
|
||||
name: 'mounted',
|
||||
text: 'Mounted',
|
||||
labelPosition: 'top',
|
||||
type: 'code-select',
|
||||
labelWidth: '90px',
|
||||
titleExtra: '组件挂载到dom时执行',
|
||||
rules: [
|
||||
{ typeMatch: true, trigger: 'change' },
|
||||
@ -213,7 +213,7 @@ export const advancedTabConfig: TabPaneConfig = {
|
||||
name: 'display',
|
||||
text: 'Display',
|
||||
titleExtra: '控制组件是否渲染,关系的代码块返回值为false时不渲染',
|
||||
labelPosition: 'top',
|
||||
labelWidth: '90px',
|
||||
type: 'code-select',
|
||||
rules: [
|
||||
{ typeMatch: true, trigger: 'change' },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user