@julingbase/jly-arco-design 0.0.6 → 0.0.7

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.
@@ -311,7 +311,7 @@ var _Upload = vue.defineComponent({
311
311
  for (let i = 0; i < files.length; i++) {
312
312
  const file = files[i];
313
313
  if (is.isFunction(props.onBeforeUpload)) {
314
- Promise.resolve(props.onBeforeUpload(file)).then((result) => {
314
+ Promise.resolve(props.onBeforeUpload(file, files.length)).then((result) => {
315
315
  if (result) {
316
316
  initUpload(is.isBoolean(result) ? file : result, i);
317
317
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@julingbase/jly-arco-design",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "description": "基于arco-design-vue的二次封装组件库",
5
5
  "author": "lzh",
6
6
  "license": "MIT",
@@ -97,5 +97,5 @@
97
97
  "scroll-into-view-if-needed": "^2.2.31",
98
98
  "vue": "^3.1.0"
99
99
  },
100
- "gitHead": "04edb9aff7455d1a8e37bb80098276f78fd3f348"
100
+ "gitHead": "179f84a41552abc8a9d46822ba5c5df5bf334ddc"
101
101
  }