@zscreate/zhxy-app-component 1.0.143 → 1.0.144

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.
@@ -152,7 +152,7 @@ export default {
152
152
  if (this.widget.options.uploadEncrypt) {
153
153
  item.fileId = result.fileId
154
154
  item.name = result.fileName || item.id
155
- previewUrl = (this.uniEnv.BASE_API || this.uniEnv.apiUrl) + '/sys/common/downloadZip?fileId=' + result.fileId
155
+ previewUrl = (this.uniEnv.BASE_API || this.uniEnv.apiUrl) + '/sys/common/downloadZip?fileId=' + result.fileId + '&token=' + this.header['X-Access-Token']
156
156
  }
157
157
  this.emitList.push(item)
158
158
 
@@ -215,7 +215,7 @@ export default {
215
215
  // }
216
216
  //文件大小限制
217
217
  this.maxSize = this.widget.options.fileSize ? this.widget.options.fileSize * 1024 : 300000;
218
-
218
+ console.log('maxSize: ', this.maxSize)
219
219
  // this.maxSize = 100
220
220
  //最大上传个数
221
221
  this.maxCount = parseInt(this.widget.options.length);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.143",
3
+ "version": "1.0.144",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",