perf: 右侧内容边距减小
1.content-right右padding减小为5px 2.top按钮、顶部工具栏相应调整位置 3.asset列表还未调整
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
<div class="top-tools">
|
||||
<div></div>
|
||||
<div>
|
||||
<button @click="toAdd" class="nz-btn nz-btn-size-normal nz-btn-style-light float-right" :title="$t('overall.createModel')"
|
||||
<button @click="toAdd" class="nz-btn nz-btn-size-normal nz-btn-style-light float-right margin-l-20" :title="$t('overall.createModel')"
|
||||
id="model-add">
|
||||
<i class="nz-icon-create-square nz-icon"></i>
|
||||
</button>
|
||||
@@ -251,6 +251,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.pageObj.pageNo = 1;
|
||||
@@ -284,6 +287,7 @@
|
||||
|
||||
this.getTableData();
|
||||
this.$nextTick(() => {
|
||||
this.gutterHandler(".nz-table");
|
||||
//绑定滚动条事件,控制top按钮
|
||||
let el = this.$refs.modelTable.$el.querySelector(".el-table__body-wrapper");
|
||||
if (el._ps_) {
|
||||
|
||||
Reference in New Issue
Block a user