@fy-/fws-vue 0.4.5 → 0.4.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.
|
@@ -108,6 +108,9 @@ async function getCropResult() {
|
|
|
108
108
|
uploader.value.addFile(file);
|
|
109
109
|
}
|
|
110
110
|
const fileUploadCallback = (response: any) => {
|
|
111
|
+
if (props.onCompleted) {
|
|
112
|
+
props.onCompleted(response);
|
|
113
|
+
}
|
|
111
114
|
eventBus.emit("avCropModal", false);
|
|
112
115
|
eventBus.emit("main-loading", false);
|
|
113
116
|
eventBus.emit("user:refresh", true);
|