|
@@ -66,7 +66,7 @@
|
|
|
<button class="btn btn-sm btn-warning" id="save-permission" style="display: none;">保存</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="card-body py-2">
|
|
|
+ <div class="card-body py-2 scroll-y" id="sp-pageshow-content">
|
|
|
<table class="table table-hover table-bordered table-sm">
|
|
|
<thead><tr class="text-center">
|
|
|
<th width="120px">用户</th>
|
|
@@ -104,4 +104,9 @@
|
|
|
<script>
|
|
|
const accountGroup = JSON.parse(unescape('<%- escape(JSON.stringify(accountGroup)) %>'));
|
|
|
const permissionConst = JSON.parse(unescape('<%- escape(JSON.stringify(permissionConst)) %>'));
|
|
|
+ const reCalcHeight = function () {
|
|
|
+ $('#sp-pageshow-content').height($(window).height() - 187);
|
|
|
+ }
|
|
|
+ reCalcHeight();
|
|
|
+ $(window).resize(reCalcHeight);
|
|
|
</script>
|