fix:修改渲染区坐标信息获取方式为dom
This commit is contained in:
@ -103,7 +103,7 @@ const adjustHeaderPosition = () => {
|
||||
let left = 0;
|
||||
|
||||
// 获取最外层组件渲染区域的边界
|
||||
const containerEl = targetContent.value;
|
||||
const containerEl = document.getElementById('renderArea');
|
||||
if (!containerEl) return;
|
||||
|
||||
const containerRect = containerEl.getBoundingClientRect();
|
||||
|
||||
Reference in New Issue
Block a user