更新 dropdown 示例

This commit is contained in:
贤心 2023-03-10 13:15:52 +08:00
parent 7ce10b4f81
commit 82d050a8f9

View File

@ -171,6 +171,7 @@ layui.use('dropdown', function(){
,data: [{ ,data: [{
title: 'menu item 1' title: 'menu item 1'
,href: '#1' ,href: '#1'
,disabled: true
},{ },{
title: 'menu item 2(点击不关闭)' title: 'menu item 2(点击不关闭)'
,href: '#2' ,href: '#2'