|
@@ -108,9 +108,11 @@
|
|
|
/*.bootstrap-table .fixed-table-container.fixed-height:not(.has-footer) {*/
|
|
|
/*border-bottom: 0;*/
|
|
|
/*}*/
|
|
|
- /*table {*/
|
|
|
- /*table-layout: fixed;*/
|
|
|
- /*}*/
|
|
|
+ @-moz-document url-prefix() {
|
|
|
+ table {
|
|
|
+ table-layout: fixed;
|
|
|
+ }
|
|
|
+ }
|
|
|
</style>
|
|
|
<!-- 弹窗编辑项目 -->
|
|
|
<div class="modal fade" id="authority-list" data-backdrop="static">
|
|
@@ -207,7 +209,7 @@
|
|
|
<% if (ctx.session.sessionUser.is_admin) { %>
|
|
|
<script src="/public/js/bootstrap/bootstrap-table.min.js"></script>
|
|
|
<script src="/public/js/bootstrap/locales/bootstrap-table-zh-CN.min.js"></script>
|
|
|
- <script src="/public/js/bootstrap/bootstrap-table-fixed-columns.min.js"></script>
|
|
|
+ <!--<script src="/public/js/bootstrap/bootstrap-table-fixed-columns.min.js"></script>-->
|
|
|
<script>
|
|
|
$(function () {
|
|
|
// $("#permission-audit-table").bootstrapTable('destroy').bootstrapTable({
|
|
@@ -325,9 +327,10 @@
|
|
|
$('#authority-list').on('shown.bs.modal', function () {
|
|
|
if (first) {
|
|
|
const option = {
|
|
|
- fixedColumns: true,
|
|
|
- fixedNumber: 1, //固定列数
|
|
|
+ // fixedColumns: true,
|
|
|
+ // fixedNumber: 1, //固定列数
|
|
|
locale: 'zh-CN',
|
|
|
+ height: 300,
|
|
|
}
|
|
|
// if (permissionAudits.length === 0) {
|
|
|
// option.formatName = function () {
|