fix: Fixes console error with image component in widget (#3955)
This commit is contained in:
parent
0ec3a56041
commit
4201b57315
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,9 @@ export default {
|
||||||
onImgError() {
|
onImgError() {
|
||||||
this.$emit('error');
|
this.$emit('error');
|
||||||
},
|
},
|
||||||
|
onClick() {
|
||||||
|
this.$emit('click');
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue