Commit a4f063d6 authored by 郭志伟's avatar 郭志伟

fix(transformStyle.mixin.ts): 修改自由容器高度计算

parent 24f7bed2
...@@ -24,7 +24,7 @@ export default class TransformStyleMixin extends Vue { ...@@ -24,7 +24,7 @@ export default class TransformStyleMixin extends Vue {
} }
} }
if (name === 'freedom-container' && point) { if (name === 'freedom-container' && point) {
style.height = point?.h ? `${(point.h / 37.5).toFixed(2)}rem` : null; style.height = point?.h ? `${point.h}px` : null;
} }
// style.zIndex = 2; // style.zIndex = 2;
return style; return style;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment