diff --git a/web/public/js/components/common/file-textarea.js b/web/public/js/components/common/file-textarea.js index 99c89fb9..e43376cc 100644 --- a/web/public/js/components/common/file-textarea.js +++ b/web/public/js/components/common/file-textarea.js @@ -12,6 +12,7 @@ Vue.component("file-textarea", { mounted: function () { }, methods: { + dragover: function () {}, drop: function (e) { let that = this e.dataTransfer.items[0].getAsFile().text().then(function (data) { @@ -22,5 +23,5 @@ Vue.component("file-textarea", { this.realValue = value } }, - template: `` + template: `` }) \ No newline at end of file