丢失数据
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user