mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 20:18:03 +08:00
fix(amis-saas-9408): 自由容器内元素不限制拖拽区域
Change-Id: Id7fe94a32d64c27b97c24d031a077b080cbbe31e
This commit is contained in:
parent
1708dbd993
commit
0ae93d2e5d
@ -993,7 +993,8 @@ export function unitFormula(insetStr: string, offsetVal: number) {
|
||||
insetUnit = 'px';
|
||||
}
|
||||
const newOffsetVal = insetNum + curOffsetVal;
|
||||
return `${newOffsetVal >= 0 ? newOffsetVal : '0'}${insetUnit}`;
|
||||
return `${newOffsetVal}${insetUnit}`;
|
||||
// return `${newOffsetVal >= 0 ? newOffsetVal : '0'}${insetUnit}`; // 限制拖拽区域
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user