feat:架构重构

This commit is contained in:
2026-10-01 23:08:06 -07:00
parent b82dc93404
commit 68588d1f92
74 changed files with 1131 additions and 3492 deletions
+4 -2
View File
@@ -16,8 +16,10 @@ class Canvas(ExtensibleModel):
class Layout(ExtensibleModel):
x: Number
y: Number
"""组件在画布上的绝对坐标和尺寸,单位 px"""
x: Number = Field(description="左上角横坐标")
y: Number = Field(description="左上角纵坐标")
width: PositiveNumber
height: PositiveNumber