修复弹窗的消息菜单位置不对

This commit is contained in:
kuaifan 2022-06-24 20:42:24 +08:00
parent 7a63f6d68a
commit 0d158d2403

View File

@ -1076,7 +1076,7 @@ export default {
const wrapRect = this.$el.getBoundingClientRect();
this.operateStyles = {
left: `${event.clientX - wrapRect.left}px`,
top: `${projectRect.top + this.windowScrollY}px`,
top: `${projectRect.top - wrapRect.top + this.windowScrollY}px`,
height: projectRect.height + 'px',
}
this.operateVisible = true;