diff --git a/src/modules/helper/hooks/code.ts b/src/modules/helper/hooks/code.ts index ef868a3..f83e6c3 100644 --- a/src/modules/helper/hooks/code.ts +++ b/src/modules/helper/hooks/code.ts @@ -81,7 +81,7 @@ export function useCode() { // 创建组件 function createComponent(column: EpsColumn, columns: EpsColumn[]) { const prop = column.propertyName; - let label = column.comment; + let label = column.comment || ""; let d: any; let isHidden = false;