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: [{