feat: 新增置顶和置底功能

This commit is contained in:
MTrun
2022-02-01 17:12:16 +08:00
parent 6f93de7ad4
commit 917772cce0
5 changed files with 150 additions and 34 deletions
@@ -9,7 +9,7 @@ export const useComponentStyle = (attr: AttrType, index: number) => {
const componentStyle = {
zIndex: index + 1,
left: `${attr.x}px`,
top: `${attr.y}px`,
top: `${attr.y}px`
}
return componentStyle
}