Vanessa 2025-08-22 17:55:17 +08:00
parent 53c41561c8
commit 691ef04f62
2 changed files with 4 additions and 1 deletions

View file

@ -1818,7 +1818,7 @@ const genColDataByType = (type: TAVCol, id: string, name: string) => {
template: "",
type,
width: "",
wrap: false,
wrap: undefined,
calc: null
};
return colData;

View file

@ -112,6 +112,9 @@ export const openMenuPanel = (options: {
html = getAssetHTML(options.cellElements);
} else if (options.type === "edit") {
if (options.editData) {
if (typeof options.editData.colData.wrap === "undefined") {
options.editData.colData.wrap = data.view.wrapField;
}
if (options.editData.previousID) {
fields.find((item, index) => {
if (item.id === options.editData.previousID) {