mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 10:56:44 +08:00
调试
This commit is contained in:
@@ -320,14 +320,14 @@ export default {
|
||||
}
|
||||
});
|
||||
|
||||
// this.$nextTick(() => {
|
||||
// // 强制重新设置selectedTags来触发更新
|
||||
// const tempTags = [...this.selectedTags];
|
||||
// this.selectedTags = [];
|
||||
// this.$nextTick(() => {
|
||||
// this.selectedTags = tempTags;
|
||||
// });
|
||||
// });
|
||||
this.$nextTick(() => {
|
||||
// 强制重新设置selectedTags来触发更新
|
||||
const tempTags = [...this.selectedTags];
|
||||
this.selectedTags = [];
|
||||
this.$nextTick(() => {
|
||||
this.selectedTags = tempTags;
|
||||
});
|
||||
});
|
||||
|
||||
} finally {
|
||||
this.loading = false
|
||||
|
||||
Reference in New Issue
Block a user