注释掉 InspectorSidebar 中的 LayoutEditor 组件以暂时禁用布局编辑功能
Project CI / Repository checks (pull_request) Failing after 23s
Project CI / Backend tests (pull_request) Failing after 11s
Project CI / Frontend tests (pull_request) Successful in 3m52s
Project CI / Native shell tests (pull_request) Failing after 4m49s

This commit is contained in:
2026-09-14 10:16:07 +08:00
parent e5df8f11b8
commit 6dbc4a39cb
@@ -284,7 +284,7 @@ function NodeInspector({
onMetadataChange,
highlightedStatusField,
onTransformChange,
onLayoutChange,
// onLayoutChange,
sprites,
previewUrls,
fonts,
@@ -483,11 +483,11 @@ function NodeInspector({
readOnly={transformReadOnly || isReadOnly}
onChange={onTransformChange}
/>
<LayoutEditor
node={node}
readOnly={isReadOnly}
onChange={onLayoutChange}
/>
{/*<LayoutEditor*/}
{/* node={node}*/}
{/* readOnly={isReadOnly}*/}
{/* onChange={onLayoutChange}*/}
{/*/>*/}
<ComponentPanel
key={node.id}
component={node.component}
@@ -511,6 +511,7 @@ function NodeInspector({
);
}
// eslint-disable-next-line unused-imports/no-unused-vars
function LayoutEditor({
node,
readOnly,