diff --git a/src/App.vue b/src/App.vue index 207880b..a10baad 100644 --- a/src/App.vue +++ b/src/App.vue @@ -2,13 +2,20 @@
-
+
+
diff --git a/src/components/ImageForm.vue b/src/components/ImageForm.vue index 5cca35a..ab601b6 100644 --- a/src/components/ImageForm.vue +++ b/src/components/ImageForm.vue @@ -55,7 +55,7 @@ export default { }; axios.post(this._uploadImgUrl(), formData, config).then((res) => { - console.log(res.status); + this.$emit("detect-responsed", res); }); }, },