From f81932b4bc1c70d47d1b04559670c820f2fdb40e Mon Sep 17 00:00:00 2001 From: "peipei.xpp" Date: Thu, 27 Aug 2020 15:49:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=F0=9F=8E=B8=20upload=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/demo/public/assets.json | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) diff --git a/packages/demo/public/assets.json b/packages/demo/public/assets.json index 05bb501da..445d349a8 100644 --- a/packages/demo/public/assets.json +++ b/packages/demo/public/assets.json @@ -12313,12 +12313,6 @@ "subName": "" }, "props": [ - { - "name": "prefix", - "propType": "string", - "description": "样式前缀", - "defaultValue": "next-" - }, { "name": "action", "propType": "string", @@ -12327,16 +12321,14 @@ { "name": "value", "propType": { - "type": "instanceOf", - "value": "array" + "type": "Json" }, "description": "文件列表" }, { "name": "defaultValue", "propType": { - "type": "instanceOf", - "value": "array" + "type": "Json" }, "description": "默认文件列表" }, @@ -12360,11 +12352,7 @@ "card" ] }, - "description": "上传列表的样式\n@enumdesc 文字, 图文, 卡片" - }, - { - "name": "list", - "propType": "any" + "description": "上传列表的样式" }, { "name": "name", @@ -12376,7 +12364,7 @@ "propType": { "type": "oneOfType", "value": [ - "object", + "Json", "func" ] }, @@ -12385,7 +12373,10 @@ { "name": "formatter", "propType": "func", - "description": "数据格式化函数,配合自定义 action 使用,参数为服务器的响应数据,详见 [formatter](#formater)\n@param {Object} response 返回\n@param {File} file 文件对象" + "title": { + "label": "数据格式化函数", + "tip": "数据格式化函数,配合自定义 action 使用,参数为服务器的响应数据,详见 [formatter](#formater)\n@param {Object} response 返回\n@param {File} file 文件对象" + } }, { "name": "limit", @@ -12511,7 +12502,12 @@ "propType": "func", "description": "预览态模式下渲染的内容\n@param {number} value 评分值" } - ] + ], + "configure": { + "component": { + "isContainer": true + } + } }, { "componentName": "Upload.Selecter",