ztxkui 3.3.18 → 3.4.1

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.
@@ -80,7 +80,7 @@ var UploadTable = function (_a) {
80
80
  ? __spreadArray(__spreadArray(__spreadArray(__spreadArray([], startColumns), [
81
81
  {
82
82
  title: '文件名称',
83
- width: 200,
83
+ width: 160,
84
84
  fixed: 'left',
85
85
  dataIndex: 'fileName',
86
86
  key: 'fileName',
@@ -109,19 +109,20 @@ var UploadTable = function (_a) {
109
109
  ]), otherColumns), [
110
110
  {
111
111
  title: '上传进度',
112
- width: 200,
112
+ width: 140,
113
113
  render: function (text, record, index) {
114
114
  // uploading done error removed
115
115
  var status = record.status === 'error' ? 'exception' : undefined;
116
116
  if (record.status === 'error') {
117
- return (React.createElement(Button, { type: "link", style: { color: '#ff4d4f' }, onClick: function () { return onSubmitFile(record.originFileObj, index); } }, "\u56FE\u7247\u4E0A\u4F20\u5931\u8D25\uFF0C\u91CD\u65B0\u4E0A\u4F20"));
117
+ return (React.createElement(Button, { type: "link", style: { color: '#ff4d4f' }, onClick: function () { return onSubmitFile(record.originFileObj, index); } }, "\u6587\u4EF6\u4E0A\u4F20\u5931\u8D25\uFF0C\u91CD\u65B0\u4E0A\u4F20"));
118
118
  }
119
119
  return React.createElement(Progress, { percent: record === null || record === void 0 ? void 0 : record.percent, status: status });
120
120
  },
121
121
  },
122
122
  {
123
123
  title: '操作',
124
- width: 80,
124
+ width: 120,
125
+ ellipsis: false,
125
126
  fixed: 'right',
126
127
  render: function (text, record, index) {
127
128
  var operationAuth = record === null || record === void 0 ? void 0 : record.operationAuth;
@@ -220,7 +221,8 @@ var UploadTable = function (_a) {
220
221
  ]), otherColumns), [
221
222
  {
222
223
  title: '操作',
223
- width: 80,
224
+ width: 90,
225
+ ellipsis: false,
224
226
  fixed: 'right',
225
227
  render: function (text, record, index) {
226
228
  return (React.createElement(React.Fragment, null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ztxkui",
3
- "version": "3.3.18",
3
+ "version": "3.4.1",
4
4
  "private": false,
5
5
  "description": "React components library",
6
6
  "author": "zt-front-end",