From da7d42edd5300487daf42ea5f0c99268f5cc28c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=A5=A5=E8=B6=85?= Date: Mon, 20 Mar 2023 09:43:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=9C=A8firefox=E4=B8=8A=E6=97=A0=E6=B3=95=E5=A4=8D?= =?UTF-8?q?=E5=88=B6=E5=86=85=E5=AE=B9=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/public/js/components/common/file-textarea.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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