Vanessa 2023-02-22 09:18:51 +08:00
parent 872378dded
commit 5a3af99017

View File

@ -433,7 +433,7 @@ export class Files extends Model {
const gutterTypes = gutterType.replace(Constants.SIYUAN_DROP_GUTTER, "").split(Constants.ZWSP)
if (["nodelistitem", "nodeheading"].includes(gutterTypes[0])) {
// 块标拖拽
if (gutterType === "nodeheading") {
if (gutterTypes[0] === "nodeheading") {
fetchPost("/api/filetree/heading2Doc", {
targetNoteBook: toURL,
srcHeadingID: gutterTypes[2].split(",")[0],