fix: 修复顶部按钮create project有时失效的问题

This commit is contained in:
chenjinsong
2019-12-16 10:35:31 +08:00
parent 1af9501f73
commit 9ef4f00a74
3 changed files with 4 additions and 2 deletions

View File

@@ -1246,7 +1246,7 @@ export default {
this.assetSearch.dropdownShow = false;
}
},
mounted: function() {
created: function() {
window.addEventListener('click', () => {
this.esc(1);
this.$store.commit('projectRightBoxShow', false);