ztxkui 1.9.4 → 1.9.5

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.
@@ -15,8 +15,6 @@ function UploadDemo() {
15
15
  code: 200,
16
16
  data: {
17
17
  attachId: '1418469936545132546',
18
- attachName: '奔奔.jpg',
19
- originalName: '奔奔.jpg',
20
18
  },
21
19
  },
22
20
  percent: 100,
@@ -177,7 +177,9 @@ var Upload = function (props) {
177
177
  React.createElement(UploadOutlined, null),
178
178
  fileBtnText || '添加附件',
179
179
  maxCount === fileList.length &&
180
- "\uFF08\u6700\u591A\u4E0A\u4F20" + maxCount + "\u4E2A\u6587\u4EF6\uFF09")) : maxCount && fileList.length >= maxCount ? null : (React.createElement("div", null,
180
+ "\uFF08\u6700\u591A\u4E0A\u4F20" + maxCount + "\u4E2A\u6587\u4EF6\uFF09")) : (
181
+ // ) : maxCount && fileList.length >= maxCount ? null : (
182
+ React.createElement("div", null,
181
183
  React.createElement(UploadOutlined, { style: { fontSize: 18 } }),
182
184
  React.createElement("div", { style: { marginTop: 8 } }, fileBtnText || '添加图片')))),
183
185
  showTip && (React.createElement("span", { className: "zt-upload__upload-tips" },
@@ -50,7 +50,7 @@ var DetailList = function (_a) {
50
50
  }, contentStyle: {
51
51
  height: '36px',
52
52
  fontSize: '12px',
53
- padding: '10px',
53
+ padding: '0 10px 0 10px',
54
54
  fontFamily: 'PingFangSC-Regular, PingFang SC',
55
55
  fontWeight: 400,
56
56
  color: '#333333',
@@ -70,6 +70,7 @@ var DetailList = function (_a) {
70
70
  whiteSpace: 'pre-wrap',
71
71
  wordBreak: 'break-all',
72
72
  wordWrap: 'break-word',
73
+ marginBottom: '0px',
73
74
  } }, item === null || item === void 0 ? void 0 : item.content)));
74
75
  }
75
76
  return (React.createElement(Item, { label: item === null || item === void 0 ? void 0 : item.label, key: index }, item.content.length > 0 &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "1.9.4",
3
+ "version": "1.9.5",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",