|
@ -331,8 +331,8 @@ var table = { |
|
|
var actions = []; |
|
|
var actions = []; |
|
|
actions.push('<div class="btn-group" style="width:100px;display: flex; justify-content: center; align-items: center;">'); |
|
|
actions.push('<div class="btn-group" style="width:100px;display: flex; justify-content: center; align-items: center;">'); |
|
|
actions.push('<button type="button" class="btn btn-xs dropdown-toggle" data-toggle="dropdown" aria-expanded="false">'); |
|
|
actions.push('<button type="button" class="btn btn-xs dropdown-toggle" data-toggle="dropdown" aria-expanded="false">'); |
|
|
actions.push('<i class="fa fa-lg fa-cog"></i> '); // fa-lg 类可以使图标变大
|
|
|
actions.push('更多操作 '); |
|
|
actions.push('<span class="fa fa-lg fa-chevron-down"></span>'); // fa-lg 类可以使图标变大
|
|
|
actions.push('<span class="fa fa-lg fa-chevron-down"></span>'); // 如果需要,可以保留这个图标
|
|
|
actions.push('</button>'); |
|
|
actions.push('</button>'); |
|
|
actions.push('<ul class="dropdown-menu">'); |
|
|
actions.push('<ul class="dropdown-menu">'); |
|
|
actions.push(value.replace(/<a/g,"<li><a").replace(/<\/a>/g,"</a></li>")); |
|
|
actions.push(value.replace(/<a/g,"<li><a").replace(/<\/a>/g,"</a></li>")); |
|
|