feat:给bus添加off时间 以及手动释放一些内存,隐藏system新增内容

This commit is contained in:
zhangyu
2020-11-20 10:15:17 +08:00
parent ba188b9128
commit 99779334b2
15 changed files with 77 additions and 33 deletions

View File

@@ -854,6 +854,13 @@
},
destroyed(){
window.onresize=null;
bus.$off("project-page-type");
bus.$off("current-project-change");
bus.$off("current-module-change");
bus.$off("project-list-change");
bus.$off("module-list-change");
bus.$off("endpoint-list-change");
bus.$off('alert-message-change')
}
}
</script>