mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 11:13:26 +00:00
修复弹窗的消息菜单位置不对
This commit is contained in:
parent
7a63f6d68a
commit
0d158d2403
@ -1076,7 +1076,7 @@ export default {
|
|||||||
const wrapRect = this.$el.getBoundingClientRect();
|
const wrapRect = this.$el.getBoundingClientRect();
|
||||||
this.operateStyles = {
|
this.operateStyles = {
|
||||||
left: `${event.clientX - wrapRect.left}px`,
|
left: `${event.clientX - wrapRect.left}px`,
|
||||||
top: `${projectRect.top + this.windowScrollY}px`,
|
top: `${projectRect.top - wrapRect.top + this.windowScrollY}px`,
|
||||||
height: projectRect.height + 'px',
|
height: projectRect.height + 'px',
|
||||||
}
|
}
|
||||||
this.operateVisible = true;
|
this.operateVisible = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user