feat: 添加demo: 动态Table,拖拽Table,综合Table

Former-commit-id: 0c0746cc6a9e5f67dc2caf52c4990bec844e4d9a
This commit is contained in:
Jachin
2023-08-08 20:24:44 +08:00
parent e72b806e2d
commit bd1e81e2a7
17 changed files with 1517 additions and 35 deletions

View File

@@ -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