Skip to content

Commit 8f2e17a

Browse files
author
Kerwin
committed
style: 底部滚动条 (Close #186)
1 parent 2085d90 commit 8f2e17a

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/components/common/Setting/Keys.vue

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,16 @@ onMounted(async () => {
212212
</NButton>
213213
</NSpace>
214214
<NDataTable
215-
ref="table" remote :loading="loading" :row-key="(rowData) => rowData._id" :columns="columns"
216-
:data="keys" :pagination="pagination" :max-height="444" striped @update:page="handleGetKeys"
215+
ref="table"
216+
remote
217+
:loading="loading"
218+
:row-key="(rowData) => rowData._id"
219+
:columns="columns"
220+
:data="keys"
221+
:pagination="pagination"
222+
:max-height="444"
223+
:scroll-x="1300"
224+
striped @update:page="handleGetKeys"
217225
/>
218226
</NSpace>
219227
</div>

src/components/common/Setting/User.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ onMounted(async () => {
208208
:pagination="pagination"
209209
:max-height="444"
210210
striped
211+
:scroll-x="1260"
211212
@update:page="handleGetUsers"
212213
/>
213214
</div>

0 commit comments

Comments
 (0)