mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-22 09:30:14 +01:00
🎨 多行选中编辑资源/多选需统一
This commit is contained in:
parent
293638a813
commit
3c5bd99175
4 changed files with 90 additions and 83 deletions
|
|
@ -111,6 +111,8 @@ export const openMenuPanel = (options: {
|
|||
type = "sorts";
|
||||
} else if (targetElement.querySelector('[data-type="removeFilter"]')) {
|
||||
type = "filters";
|
||||
} else if (targetElement.querySelector('[data-type="editAssetItem"]')) {
|
||||
type = "assets";
|
||||
} else if (targetElement.querySelector('[data-type="setColOption"]')) {
|
||||
const colId = options.cellElements ? options.cellElements[0].dataset.colId : menuElement.querySelector(".b3-menu__item").getAttribute("data-col-id");
|
||||
const changeData = data.view.columns.find((column) => column.id === colId).options;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue