✨ feat(vscode): 代码阅读的输入参数排成带表头和边框的表格

This commit is contained in:
cruldra committed 2026-09-26 16:15:59 +08:00
1 parent 6416cdf714
commit 83adefdf5e
10 files changed
+197 -24

No files matched your search

@@ -60,7 +60,7 @@ export function useReveal(
return
}
// 块正在编辑时页面上没有属性表,就闪整块
const row = plan?.row === undefined ? null : document.querySelector<HTMLElement>(`:is(.cr-prop-row, .cr-prop-item)[data-id="${plan.row}"]`)
const row = plan?.row === undefined ? null : document.querySelector<HTMLElement>(`:is(.cr-prop-row, .cr-prop-item, .cr-table-row)[data-id="${plan.row}"]`)
const el = row ?? (plan && document.querySelector<HTMLElement>(`.cr-block[data-id="${plan.id}"]`))
if (el) {
const rect = el.getBoundingClientRect()