Vanessa 2025-08-14 12:13:21 +08:00
parent 1a6b80b5af
commit 2b3405fcca
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,3 @@
import {showMessage} from "../../../../dialog/message";
import {genCellValue, getTypeByCellElement, renderCell, renderCellAttr} from "../cell";
import {fetchPost} from "../../../../util/fetch";
import {setPage} from "../row";
@ -59,6 +58,7 @@ ${fieldType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValu
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW),
groupID: options.groupID,
previousID: options.previousId,
srcIDs: options.srcIDs
}, (response) => {
if (response.data.values) {
let popCellElement: HTMLElement;

View File

@ -10,7 +10,6 @@ import {
renderCellAttr
} from "./cell";
import {fetchPost} from "../../../util/fetch";
import {showMessage} from "../../../dialog/message";
import * as dayjs from "dayjs";
import {Constants} from "../../../constants";
import {insertGalleryItemAnimation} from "./gallery/item";
@ -116,7 +115,7 @@ export const setPage = (blockElement: Element) => {
export const insertAttrViewBlockAnimation = (options: {
protyle: IProtyle,
blockElement: Element,
srcIDs: string[],
srcIDs: string[], // node id
previousId: string,
groupID?: string
}) => {
@ -170,6 +169,7 @@ ${colType === "block" ? ' data-detached="true"' : ""}>${renderCell(genCellValue(
viewID: options.blockElement.getAttribute(Constants.CUSTOM_SY_AV_VIEW),
groupID: options.groupID,
previousID: options.previousId,
srcIDs: options.srcIDs,
}, (response) => {
if (response.data.values) {
let popCellElement: HTMLElement;