zydx-plus 1.35.560 → 1.35.561

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": "zydx-plus",
3
- "version": "1.35.560",
3
+ "version": "1.35.561",
4
4
  "description": "Vue.js",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -353,7 +353,7 @@ export default {
353
353
  default: []
354
354
  }
355
355
  },
356
- emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData'],
356
+ emits: ['see', 'del', 'complete', 'update:data', 'enclosureSuccess', 'download', 'updateData', 'syncDel'],
357
357
  watch: {
358
358
  // 强制监听data变化
359
359
  data: {
@@ -724,6 +724,7 @@ export default {
724
724
  }
725
725
  })
726
726
  } else {
727
+ this.$emit('syncDel', {syncDel: true, index: index, data: that.uploadAttData[index] }) // 为了同步当前组件和父组件附件的数据(新加的syncDel,使用原来的del怕有问题)
727
728
  that.uploadAttData.splice(index, 1)
728
729
  }
729
730
  },
package/src/index.js CHANGED
@@ -89,7 +89,7 @@ function install(app) {
89
89
  }
90
90
 
91
91
  export default {
92
- version: '1.35.560',
92
+ version: '1.35.561',
93
93
  install,
94
94
  Calendar,
95
95
  Message,