@zgfe/modules-settings 2.0.0-zhongyuan.4 → 2.0.0-zhongyuan.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.
@@ -72,11 +72,13 @@ var DocumentSetting = function DocumentSetting() {
72
72
  }, {
73
73
  title: '文档名称',
74
74
  dataIndex: 'name',
75
- key: 'name'
75
+ key: 'name',
76
+ with: 260
76
77
  }, {
77
78
  title: '创建时间',
78
79
  dataIndex: 'createdTime',
79
80
  key: 'createdTime',
81
+ with: 200,
80
82
  sorter: function sorter(a, b) {
81
83
  return moment(b.createdTime).valueOf() - moment(a.createdTime).valueOf();
82
84
  },
@@ -86,6 +88,7 @@ var DocumentSetting = function DocumentSetting() {
86
88
  }, {
87
89
  title: '操作',
88
90
  key: 'operation',
91
+ with: 120,
89
92
  render: function render(_, record) {
90
93
  return /*#__PURE__*/React.createElement(Space, {
91
94
  size: "middle"
@@ -191,6 +194,7 @@ var DocumentSetting = function DocumentSetting() {
191
194
  multiple: true,
192
195
  beforeUpload: beforeUpload,
193
196
  onChange: function onChange(info) {
197
+ console.log(info);
194
198
  var status = info.file.status;
195
199
  if (status !== 'uploading') {
196
200
  console.log(info.file, info.fileList);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-settings",
3
- "version": "2.0.0-zhongyuan.4",
3
+ "version": "2.0.0-zhongyuan.5",
4
4
  "private": false,
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",