perf: 右侧内容边距减小
1.content-right右padding减小为5px 2.top按钮、顶部工具栏相应调整位置 3.asset列表还未调整
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<button id="alert-add" @click="toAdd" :title="$t('overall.createAlertRule')"
|
||||
class="nz-btn nz-btn-size-normal nz-btn-style-light float-right ">
|
||||
class="nz-btn nz-btn-size-normal nz-btn-style-light float-right margin-l-20">
|
||||
<i class="nz-icon-create-square nz-icon"></i>
|
||||
</button>
|
||||
<div class="top-tool-search float-right">
|
||||
@@ -359,6 +359,9 @@
|
||||
this.pageObj.pageSize = val;
|
||||
localStorage.setItem('nz-pageSize-' + localStorage.getItem('nz-username') + '-' + this.tableId, val);
|
||||
this.getTableData();
|
||||
this.$nextTick(() => {
|
||||
this.gutterHandler(".nz-table");
|
||||
});
|
||||
},
|
||||
search: function (searchObj) {
|
||||
this.searchLabel = {};
|
||||
@@ -418,6 +421,7 @@
|
||||
|
||||
this.getTableData();
|
||||
this.$nextTick(() => {
|
||||
this.gutterHandler(".nz-table");
|
||||
//绑定滚动条事件,控制top按钮
|
||||
let el = this.$refs.alertRuleTable.$el.querySelector(".el-table__body-wrapper");
|
||||
if (el._ps_) {
|
||||
|
||||
Reference in New Issue
Block a user