style(editor): 修改indent prop 名称

This commit is contained in:
roymondchen 2024-09-05 14:14:10 +08:00 committed by roymondchen
parent 6fd30242c0
commit 7b9ceb9cfb
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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的生成方式 */