fix: 修复 api header menus undefine 的问题

This commit is contained in:
Captain.B 2020-08-26 11:56:55 +08:00
parent f642b5ace1
commit b8bf889e94
1 changed files with 4 additions and 3 deletions

View File

@ -88,10 +88,11 @@ export default {
}
},
mounted() {
let self = this;
ApiEvent.$on(LIST_CHANGE, () => {
this.$refs.projectRecent.recent();
this.$refs.testRecent.recent();
this.$refs.reportRecent.recent();
self.$refs.projectRecent.recent();
self.$refs.testRecent.recent();
self.$refs.reportRecent.recent();
});
}
}