mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
调试
This commit is contained in:
@@ -516,7 +516,7 @@ export default {
|
|||||||
totalPages: 1,
|
totalPages: 1,
|
||||||
localSessionKey: this.$xpage.constants.localCourseFiltersKey,
|
localSessionKey: this.$xpage.constants.localCourseFiltersKey,
|
||||||
hotTagsList: [],
|
hotTagsList: [],
|
||||||
isAllHotTagsSelected: true,
|
// isAllHotTagsSelected: true,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
// 受众需要每次刷新
|
// 受众需要每次刷新
|
||||||
@@ -714,9 +714,7 @@ export default {
|
|||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// isAllHotTagsSelected() {
|
|
||||||
// return !this.hotTagsList.some(tag => tag.checked);
|
|
||||||
// },
|
|
||||||
handleClearHotTags() {
|
handleClearHotTags() {
|
||||||
// 清除所有热点标签的选中状态
|
// 清除所有热点标签的选中状态
|
||||||
this.hotTagsList.forEach(tag => {
|
this.hotTagsList.forEach(tag => {
|
||||||
@@ -730,7 +728,7 @@ export default {
|
|||||||
},
|
},
|
||||||
handleTagClick(item, list,type) {
|
handleTagClick(item, list,type) {
|
||||||
console.info('切换标签 item = ' + item)
|
console.info('切换标签 item = ' + item)
|
||||||
this.isAllHotTagsSelected = false;
|
// this.isAllHotTagsSelected = false;
|
||||||
|
|
||||||
item.checked = !item.checked;
|
item.checked = !item.checked;
|
||||||
|
|
||||||
@@ -738,7 +736,7 @@ export default {
|
|||||||
const checkedTags = this.hotTagsList.filter(tag => tag.checked);
|
const checkedTags = this.hotTagsList.filter(tag => tag.checked);
|
||||||
let tagIds = checkedTags.map(tag => tag.id).join(',');
|
let tagIds = checkedTags.map(tag => tag.id).join(',');
|
||||||
this.course.tags = tagIds;
|
this.course.tags = tagIds;
|
||||||
this.$forceUpdate();
|
// this.$forceUpdate();
|
||||||
this.searchData(type);
|
this.searchData(type);
|
||||||
|
|
||||||
// 强制触发stagList重新计算
|
// 强制触发stagList重新计算
|
||||||
|
|||||||
Reference in New Issue
Block a user