丢失数据

This commit is contained in:
YOHO\20373
2025-05-16 15:55:36 +08:00
committed by 陆光LG
parent 9e969aadc1
commit 914484f615
2 changed files with 7 additions and 3 deletions

View File

@@ -118,7 +118,8 @@
</el-form>
</ContentWrap>
<ContentWrap>
<el-table v-loading="loading" :data="list">
<el-table v-loading="loading" :data="list" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" />
<el-table-column label="试题编号" align="center" key="id" prop="quId" :show-overflow-tooltip="true"/>
<el-table-column label="专业" align="center" prop="specialtyName" width="120" />
<el-table-column
@@ -345,7 +346,9 @@ const handleSpecialtyNodeClick = async (row: any) => {
/** 表格选中数据 */
const selections = ref([]);
const handleSelectionChange = (rows) => {
selections.value = rows;
}
const selectedRows = ref<string[]>([])
const handleAudit = async () => {
try {