mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 解决重叠拖拽放置位置错误的bug
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
interface AttrType {
|
||||
x: number
|
||||
y: number
|
||||
w: number
|
||||
h: number
|
||||
}
|
||||
import { PublicConfigType } from '@/packages/index.d'
|
||||
type AttrType = Pick<PublicConfigType, 'attr'>['attr']
|
||||
|
||||
export const useComponentStyle = (attr: AttrType, index: number) => {
|
||||
const componentStyle = {
|
||||
|
||||
Reference in New Issue
Block a user