@processmaker/screen-builder 2.87.1 → 2.87.3
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
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
@upload-start="start"
|
|
14
14
|
@file-removed="removed"
|
|
15
15
|
@file-success="fileUploaded"
|
|
16
|
+
@file-error="fileError"
|
|
16
17
|
@file-added="addFile"
|
|
17
18
|
:class="{'was-validated': required}"
|
|
18
19
|
>
|
|
@@ -503,6 +504,10 @@ export default {
|
|
|
503
504
|
e.target.click();
|
|
504
505
|
}
|
|
505
506
|
},
|
|
507
|
+
fileError(rootFile, file, message, chunk)
|
|
508
|
+
{
|
|
509
|
+
this.$emit('file-error', message);
|
|
510
|
+
},
|
|
506
511
|
fileUploaded(rootFile, file, message) {
|
|
507
512
|
this.uploading = false;
|
|
508
513
|
let name = file.name;
|