From 8b38cec1fab8da77c2daf3a66a76f54536b63988 Mon Sep 17 00:00:00 2001 From: yutent Date: Fri, 24 Mar 2023 17:04:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/form/button.js | 4 ---- src/form/dropdown.js | 16 ++++++++++++---- src/form/link.js | 4 ---- src/scroll/index.js | 9 +++------ 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/src/form/button.js b/src/form/button.js index 4b261ef..e2dd437 100644 --- a/src/form/button.js +++ b/src/form/button.js @@ -248,10 +248,6 @@ class Button extends Component { } } - unmounted() { - this.$off('click', this._clickFn) - } - render() { return html`