This commit is contained in:
yiqiuyang
2025-09-10 00:24:53 +08:00
parent cc70e75a93
commit 80f9714845
3 changed files with 28 additions and 10 deletions

View File

@ -31,7 +31,7 @@ export default {
setActiveIndex(id) {
if (this.activeIndex !== id) {
this.activeIndex = id;
this.$bus.emit("setActiveIndex", this.activeIndex);
this.$bus.$emit("setActiveIndex", this.activeIndex);
}
},
},