-
-
-
-
-
-
-
-
-
-
- {{ formatterByDist(item.dict, row[item.code]) }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+ {{ formatterByDist(item.dict, row[item.code]) }}
+
+
+
+
+
\ No newline at end of file
+
diff --git a/plugs/composables/useListTable.ts b/plugs/composables/useListTable.ts
index 85470af..153355b 100644
--- a/plugs/composables/useListTable.ts
+++ b/plugs/composables/useListTable.ts
@@ -10,9 +10,14 @@ export interface TableColumn {
code: string;
name?: string;
i18n?: string;
- width: number;
- dict?: string;
+ type?: string;
+ width?: string | number;
+ fixed?: boolean | 'left' | 'right';
+ align?: 'left' | 'center' | 'right';
slot?: boolean;
+ dict?: string;
+ timestamp?: boolean;
+ filesize?: boolean;
[others: string]: any;
}