From 7578435420cee203602fa628112376c438bd0bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20dropdown=20=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/dropdown.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/dropdown.html b/examples/dropdown.html index c2be95c0..63402758 100644 --- a/examples/dropdown.html +++ b/examples/dropdown.html @@ -46,18 +46,18 @@ layui.use('dropdown', function(){ //,align: 'right' ,data: [{ title: 'menu item 1' - ,templet: ' {{d.title}} ' + ,templet: ' {{= d.title }} ' ,id: '' ,href: '' ,type: '' //菜单类型,支持:normal/group/parent },{ - title: 'menu item 2' - ,templet: ' {{d.title}}' + title: 'menu item 2' + ,templet: ' {{- d.title }}' ,id: '' ,href: 'https://www.layui.com/' ,target: '_blank' },{type: '-'},{},{ - title: 'menu item 3' + title: 'menu item 3 ' ,id: '' ,type: 'group' ,child: [{