feat: ✨ 添加demo: 动态Table,拖拽Table,综合Table
Former-commit-id: 0c0746cc6a9e5f67dc2caf52c4990bec844e4d9a
This commit is contained in:
@@ -203,8 +203,6 @@ function closeAllTags(view: TagView) {
|
||||
function openTagMenu(tag: TagView, e: MouseEvent) {
|
||||
const menuMinWidth = 105;
|
||||
|
||||
console.log("test", proxy?.$el);
|
||||
|
||||
const offsetLeft = proxy?.$el.getBoundingClientRect().left; // container margin left
|
||||
const offsetWidth = proxy?.$el.offsetWidth; // container width
|
||||
const maxLeft = offsetWidth - menuMinWidth; // left boundary
|
||||
|
||||
Reference in New Issue
Block a user