From 815250ed341ccaec23e7ea34db6cc478a47ad065 Mon Sep 17 00:00:00 2001
From: jq <1151176506@qq.com>
Date: 星期三, 18 十一月 2020 22:08:20 +0800
Subject: [PATCH] fix: update upload component

---
 src/components/Upload/src/types.ts |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/src/components/Upload/src/types.ts b/src/components/Upload/src/types.ts
index 7bd633e..c630110 100644
--- a/src/components/Upload/src/types.ts
+++ b/src/components/Upload/src/types.ts
@@ -23,3 +23,33 @@
   name: string;
   type: string;
 }
+
+export interface FileBasicColumn {
+  /**
+   * Renderer of the table cell. The return value should be a VNode, or an object for colSpan/rowSpan config
+   * @type Function | ScopedSlot
+   */
+  customRender?: Function;
+  /**
+   * Title of this column
+   * @type any (string | slot)
+   */
+  title: string;
+
+  /**
+   * Width of this column
+   * @type string | number
+   */
+  width?: number;
+  /**
+   * Display field of the data record, could be set like a.b.c
+   * @type string
+   */
+  dataIndex: string;
+  /**
+   * specify how content is aligned
+   * @default 'left'
+   * @type string
+   */
+  align?: 'left' | 'right' | 'center';
+}

--
Gitblit v1.8.0