fix(frontend): resolve cross-page selection loss, add destroy-on-close to dialogs, and fix row-key collision in stocktake
This commit is contained in:
@ -194,13 +194,14 @@
|
||||
:data="tableData"
|
||||
border
|
||||
stripe
|
||||
row-key="id"
|
||||
:size="tableSize"
|
||||
:row-class-name="tableRowClassName"
|
||||
@sort-change="handleSortChange"
|
||||
@selection-change="handleSelectionChange"
|
||||
style="width: 100%; margin-top: 15px"
|
||||
>
|
||||
<el-table-column v-if="isBatchMode" type="selection" width="55" />
|
||||
<el-table-column v-if="isBatchMode" type="selection" width="55" :reserve-selection="true" />
|
||||
<el-table-column v-if="columns.id.visible" prop="id" label="ID" min-width="80" align="center" fixed="left" />
|
||||
|
||||
<el-table-column v-if="columns.companyName.visible" prop="companyName" label="所属公司" min-width="100" align="center" show-overflow-tooltip sortable="custom">
|
||||
@ -323,6 +324,7 @@
|
||||
:title="dialog.title"
|
||||
width="700px"
|
||||
append-to-body
|
||||
destroy-on-close
|
||||
@close="cancel"
|
||||
:close-on-click-modal="!isUploading"
|
||||
:close-on-press-escape="!isUploading"
|
||||
|
||||
Reference in New Issue
Block a user