This commit is contained in:
670788339
2025-11-09 16:03:20 +08:00
parent 29ece96528
commit 78b8b76dc3

View File

@@ -600,15 +600,16 @@ export default {
const checkedTags = this.hotTagsList.filter(tag => tag.checked);
let tagIds = checkedTags.map(tag => tag.id).join(',');
this.course.tags = tagIds;
this.$forceUpdate();
this.searchData(type);
// 强制触发stagList重新计算
this.$nextTick(() => {
this.searchData(type);
});
// this.$nextTick(() => {
// this.searchData(type);
// });
},
// 改变分页
currentChange(val) {
this.course.pageIndex = val