中文字幕av无码专区弟一页,日韩|大胆美女高潮无码|亚洲AV无码在线观看免费DVD|欧美激情黑人一级AⅤ片|另类调教在线91|国产日韩欧美麻豆|三级人妻中文电影|婷婷五月天视频污|欧美午夜精品久久久久久浪潮|国产中文字幕2017

首頁 服務(wù) 產(chǎn)品 文檔 關(guān)于

layui table dropmenu使用

在table的toolbar


在table.render

done: function(res, curr, count) {
? ? ? ? ? ? ? ? dropdown.render({
? ? ? ? ? ? ? ? ? ? elem: '#toolBar1' //可綁定在任意元素中,此處以上述按鈕為例
? ? ? ? ? ? ? ? ? ? , data: [{
? ? ? ? ? ? ? ? ? ? ? ? ? ? title: '設(shè)置審批部門'
? ? ? ? ? ? ? ? ? ? ? ? ? ? , id: 101
? ? ? ? ? ? ? ? ? ? ? ? , href: 'javascript:;' //開啟超鏈接
? ? ? ? ? ? ? ? ? ? ? ? },? ? ? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? title: '設(shè)置來源單位'
? ? ? ? ? ? ? ? ? ? ? ? , id: 100
? ? ? ? ? ? ? ? ? ? ? ? , href: 'javascript:;'
? ? ? ? ? ? ? ? ? ? ? ? }, {
? ? ? ? ? ? ? ? ? ? ? ? title: '設(shè)置抄送單位'
? ? ? ? ? ? ? ? ? ? ? ? , id: 101
? ? ? ? ? ? ? ? ? ? ? ? , href: 'javascript:;'
? ? ? ? ? ? ? ? ? ? }]
? ? ? ? ? ? ? ? ? ? , id: 'toolBar1'
? ? ? ? ? ? ? ? ? ? //菜單被點擊的事件
? ? ? ? ? ? ? ? ? ? , click: function (obj) {
? ? ? ? ? ? ? ? ? ? ? ? console.log(obj.att);
? ? ? ? ? ? ? ? ? ? ? ? layer.msg('回調(diào)返回的參數(shù)已顯示再控制臺');
? ? ? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? });
? ? ? ? ? ? },


并記得引入dropdown

layui.use(['form', 'table','dropdown']