Browse Source

[fix] 前端通用模块

按照万材要求:修改前端通用模块ry-ui.js里面的dropdownToggle方法,实现字体样式和普通栏目里面的大小一样
dev
liuxiaoxu 1 month ago
parent
commit
b0829f55ac
  1. 2
      ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

2
ruoyi-admin/src/main/resources/static/ruoyi/js/ry-ui.js

@ -330,7 +330,7 @@ var table = {
dropdownToggle: function (value) {
var actions = [];
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-success dropdown-toggle" data-toggle="dropdown" aria-expanded="false">');
actions.push('<button type="button" class="btn btn-success dropdown-toggle" data-toggle="dropdown" aria-expanded="false" style="font-size: smaller;">');
actions.push('更多操作&nbsp;');
actions.push('<span class="fa fa-lg fa-chevron-down"></span>'); // 如果需要,可以保留这个图标
actions.push('</button>');

Loading…
Cancel
Save