From f711bff11fccdc2b43805e0db35965c69f856f96 Mon Sep 17 00:00:00 2001 From: manzhenhua Date: Thu, 28 May 2020 00:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=9F=9F=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/upload/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/upload/index.js b/components/upload/index.js index 1244817..9672027 100644 --- a/components/upload/index.js +++ b/components/upload/index.js @@ -190,7 +190,7 @@ class UploadCom extends React.Component { // onMouseLeave={this.handleHoverOff} listType="picture-card" // {...this.props} - action="https://upload-z1.qiniup.com/" //七牛上传地址 + action={this.props.action || "https://upload-z1.qiniup.com/"} //七牛上传地址 data={this.getData} multiple className={`${classObj[this.props.listType] || 'upload-list-picture'}`} -- 2.21.0