feat: 允许现有表格调整列宽,不允许现有新增/修改类表单对话框按 Esc 关闭

This commit is contained in:
2023-08-06 22:37:54 +08:00
parent bb6f47cfd2
commit 1b06a96cfb
11 changed files with 40 additions and 25 deletions

View File

@@ -93,7 +93,9 @@
<!-- 列表区域 -->
<a-table
ref="tableRef"
row-key="id"
:data="roleList"
:loading="loading"
:row-selection="{
type: 'checkbox',
showCheckedAll: true,
@@ -105,10 +107,9 @@
total: total,
current: queryParams.page,
}"
row-key="id"
:bordered="false"
:stripe="true"
:loading="loading"
column-resizable
stripe
size="large"
@page-change="handlePageChange"
@page-size-change="handlePageSizeChange"
@@ -196,6 +197,7 @@
:visible="visible"
:width="580"
:mask-closable="false"
:esc-to-close="false"
unmount-on-close
render-to-body
@ok="handleOk"