@zscreate/zhxy-app-component 1.0.225 → 1.0.226

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.
@@ -279,8 +279,10 @@ export default {
279
279
  this.emitList.push(imgObj)
280
280
  this.$emit('filePost', imgObj)
281
281
  },
282
- onRemove(index, lists, name) {
282
+ async onRemove(index, lists, name) {
283
+
283
284
  if (typeof (index) === 'object') index = index.index
285
+ this.$refs.uUpload.lists = []
284
286
  this.emitList.splice(index, 1);
285
287
  this.fileList.splice(index, 1);
286
288
  this.$emit('fileDelete', index)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.225",
3
+ "version": "1.0.226",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",