mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-04-06 03:57:56 +08:00
style(editor): 修改indent prop 名称
This commit is contained in:
parent
6fd30242c0
commit
7b9ceb9cfb
@ -20,8 +20,8 @@
|
||||
:data="sidebar"
|
||||
:layer-content-menu="layerContentMenu"
|
||||
:custom-content-menu="customContentMenu"
|
||||
:indent="indent"
|
||||
:next-level-indent-increment="nextLevelIndentIncrement"
|
||||
:indent="treeIndent"
|
||||
:next-level-indent-increment="treeNextLevelIndentIncrement"
|
||||
>
|
||||
<template #layer-panel-header>
|
||||
<slot name="layer-panel-header"></slot>
|
||||
|
@ -81,9 +81,9 @@ export interface EditorProps {
|
||||
/** 禁用属性配置面板右下角显示源码的按钮 */
|
||||
disabledShowSrc?: boolean;
|
||||
/** 已选组件、代码编辑、数据源缩进配置 */
|
||||
indent?: number;
|
||||
treeIndent?: number;
|
||||
/** 已选组件、代码编辑、数据源子节点缩进增量配置 */
|
||||
nextLevelIndentIncrement?: number;
|
||||
treeNextLevelIndentIncrement?: number;
|
||||
/** 中间工作区域中画布渲染的内容 */
|
||||
render?: (stage: StageCore) => HTMLDivElement | void | Promise<HTMLDivElement | void>;
|
||||
/** 选中时会在画布上复制出一个大小相同的dom,实际拖拽的是这个dom,此方法用于干预这个dom的生成方式 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user