rc-upload
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -35,3 +35,5 @@ 'use strict'; | ||
var props = this.props; | ||
if (window.FormData) { | ||
var isNode = typeof window === 'undefined'; | ||
// node环境或者支持FormData的情况使用AjaxUpload | ||
if (isNode || typeof FormData === 'function') { | ||
return React.createElement(AjaxUpload, props); | ||
@@ -38,0 +40,0 @@ } |
{ | ||
"name": "rc-upload", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "upload ui component for react", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7909
194