合并拉取请求 #504

.4062073974432528:0f24200cdb8be0095416b6e7e86a9fe3_69eb2ffca3c75e7cbf955b5e.69ec20a8a3c75e7cbf955e58.69ec20a7ac8e7345a8a578b4:Trae CN.T(2026/4/25 10:02:16)
This commit is contained in:
思维跳跃科技
2026-05-06 10:46:11 +08:00
committed by GitHub
@@ -54,7 +54,8 @@ export default {
listLoading: true,
subjectList: [],
tableData: [],
total: 0
total: 0,
favoriteVersion: 0
}
},
computed: {
@@ -62,6 +63,7 @@ export default {
paperTypeEnum: state => state.exam.examPaper.paperTypeEnum
}),
sortedTableData () {
this.favoriteVersion
return sortByFavorite(this.tableData)
}
},
@@ -105,6 +107,7 @@ export default {
subjectId: row.subjectId
})
if (result) {
this.favoriteVersion++
this.$message({
message: this.isPaperFavorite(row.id) ? '收藏成功' : '已取消收藏',
type: 'success',