swordpass-ui 1.1.4 → 1.1.6

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "swordpass-ui",
3
- "version": "1.1.4",
3
+ "version": "1.1.6",
4
4
  "author": "sword",
5
5
  "private": false,
6
6
  "scripts": {
@@ -422,6 +422,7 @@ export default {
422
422
  */
423
423
  handleUpdate(ary, item) {
424
424
  const index = ary.findIndex((m) => m.uid === item.uid)
425
+ console.log('index', index)
425
426
  if (index > -1) {
426
427
  // 存在则更新
427
428
  ary[index] = { ...ary[index], ...item }
@@ -454,6 +455,7 @@ export default {
454
455
  // 同步附件数据到上传组件
455
456
  refreshFileUpload() {
456
457
  this.$nextTick(() => {
458
+ console.log(this.$refs.fileUpload)
457
459
  if (this.$refs.fileUpload) {
458
460
  this.$refs.fileUpload.reload(this.inputVal)
459
461
  }
@@ -476,6 +478,7 @@ export default {
476
478
  this.valueOpration(item, 'move', direct)
477
479
  },
478
480
  uploadSuccess(response, file, fileList) {
481
+ console.log('uploadSuccess', response, file, fileList)
479
482
  this.valueOpration(this.convertFile2Item(file))
480
483
  this.$emit('onSuccess', response, file, fileList)
481
484
  },