🐛 cell 获取错误

This commit is contained in:
Vanessa 2023-12-29 14:08:35 +08:00
parent cbe09a1fd9
commit 74083b30ad
5 changed files with 50 additions and 63 deletions

View file

@ -93,7 +93,13 @@ export const openMenuPanel = (options: {
if (options.type === "select") {
bindSelectEvent(options.protyle, data, menuElement, options.cellElements, options.blockElement);
} else if (options.type === "date") {
bindDateEvent({protyle: options.protyle, data, menuElement, cellElements: options.cellElements});
bindDateEvent({
protyle: options.protyle,
data,
menuElement,
cellElements: options.cellElements,
blockElement: options.blockElement
});
} else if (options.type === "asset") {
bindAssetEvent({protyle: options.protyle, data, menuElement, cellElements: options.cellElements});
setTimeout(() => {
@ -999,6 +1005,7 @@ export const openMenuPanel = (options: {
cellElements: options.cellElements,
data,
protyle: options.protyle,
blockElement: options.blockElement,
value: {
isNotEmpty2: false,
isNotEmpty: false,