ydb-components-material 0.1.101 → 0.1.102

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.
@@ -43,6 +43,8 @@
43
43
  background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
44
44
  color: white;
45
45
  padding: 6px 12px;
46
+ width: 19%;
47
+ text-align: center;
46
48
  }
47
49
  }
48
50
  }
@@ -150,13 +150,15 @@ var FileItem = function FileItem(_ref) {
150
150
  fileName: fileData.name,
151
151
  fileType: fileData.type
152
152
  }), fileIndex, index, subIndex);
153
- closeLoading();
154
153
  _Message.notice('上传成功');
155
154
  } else {
156
155
  _Message.error('上传失败,请重试');
157
156
  }
157
+ closeLoading();
158
158
  })["catch"](function (err) {
159
- return err;
159
+ console.error(err);
160
+ _Message.error('上传失败');
161
+ closeLoading();
160
162
  });
161
163
  });
162
164
  };
@@ -43,6 +43,8 @@
43
43
  background: linear-gradient(90deg, #73AEFF 0%, #1678FF 100%);
44
44
  color: white;
45
45
  padding: 6px 12px;
46
+ width: 19%;
47
+ text-align: center;
46
48
  }
47
49
  }
48
50
  }
@@ -156,13 +156,15 @@ var FileItem = function FileItem(_ref) {
156
156
  fileName: fileData.name,
157
157
  fileType: fileData.type
158
158
  }), fileIndex, index, subIndex);
159
- closeLoading();
160
159
  _message["default"].notice('上传成功');
161
160
  } else {
162
161
  _message["default"].error('上传失败,请重试');
163
162
  }
163
+ closeLoading();
164
164
  })["catch"](function (err) {
165
- return err;
165
+ console.error(err);
166
+ _message["default"].error('上传失败');
167
+ closeLoading();
166
168
  });
167
169
  });
168
170
  };
@@ -94,7 +94,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
94
94
  packageName = 'ydb-components-material';
95
95
  }
96
96
  if (version === void 0) {
97
- version = '0.1.101';
97
+ version = '0.1.102';
98
98
  }
99
99
  if (basicLibraryVersion === void 0) {
100
100
  basicLibraryVersion = {
@@ -99,7 +99,7 @@ function fillRealVersion(meta, packageName, version, basicLibraryVersion) {
99
99
  packageName = 'ydb-components-material';
100
100
  }
101
101
  if (version === void 0) {
102
- version = '0.1.101';
102
+ version = '0.1.102';
103
103
  }
104
104
  if (basicLibraryVersion === void 0) {
105
105
  basicLibraryVersion = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ydb-components-material",
3
- "version": "0.1.101",
3
+ "version": "0.1.102",
4
4
  "description": "ydb-components-material",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -100,10 +100,10 @@
100
100
  },
101
101
  "componentConfig": {
102
102
  "isComponentLibrary": true,
103
- "materialSchema": "https://unpkg.com/ydb-components-material@0.1.101/build/lowcode/assets-prod.json"
103
+ "materialSchema": "https://unpkg.com/ydb-components-material@0.1.102/build/lowcode/assets-prod.json"
104
104
  },
105
105
  "lcMeta": {
106
106
  "type": "component"
107
107
  },
108
- "homepage": "https://unpkg.com/ydb-components-material@0.1.101/build/index.html"
108
+ "homepage": "https://unpkg.com/ydb-components-material@0.1.102/build/index.html"
109
109
  }