feat: 右上角图标随个人中心弹窗展示而变化

This commit is contained in:
2025-12-24 11:48:31 +08:00
parent a5cf919ded
commit 53b9a83b80
6 changed files with 65 additions and 8 deletions

View File

@@ -7,7 +7,6 @@ class MyEvent {
MyEvent.list = MyEvent.list.filter(item => item.name != name && item.call != call)
}
emit(name, data) {
console.log('Myevent触发--',name)
MyEvent.list.forEach(item => {
if (item.name == name) item.call(data)
})