ztxkui 2.3.7 → 2.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -139,7 +139,7 @@ var Upload = function (props) {
139
139
  }, [maxSize, maxSizeStr]);
140
140
  useEffect(function () {
141
141
  // 拉平数据
142
- if (Array.isArray(originFileList) && originFileList.length > 0) {
142
+ if (Array.isArray(originFileList)) {
143
143
  if (listType === 'text') {
144
144
  setFileList(originFileList.map(function (item) {
145
145
  var _a, _b, _c, _d;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",