From 0bb33f66fd181768306e20d5b087877fd59e5f11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Fri, 10 Mar 2023 12:49:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20dropdown=20=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/dropdown.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/dropdown.html b/examples/dropdown.html index 45e2c890..77a38a3b 100644 --- a/examples/dropdown.html +++ b/examples/dropdown.html @@ -167,7 +167,7 @@ layui.use('dropdown', function(){ var inst = dropdown.render({ elem: '#demo2' - //,show: true + // ,show: true ,data: [{ title: 'menu item 1' ,href: '#1' @@ -185,6 +185,9 @@ layui.use('dropdown', function(){ return false; } } + ,ready: function(){ + console.log(arguments); + } });