fix: 创建项目控制台报错

This commit is contained in:
shiziyuan9527 2022-01-13 16:47:28 +08:00 committed by shiziyuan9527
parent 636c8311dc
commit 7918f6cf10
1 changed files with 0 additions and 7 deletions

View File

@ -178,13 +178,6 @@ export default {
default: true
}
},
mounted() {
if (this.$route.path.split('/')[2] === 'project' &&
this.$route.path.split('/')[3] === 'create') {
this.create();
this.$router.replace('/setting/project/all');
}
},
computed: {
currentUser: () => {
return getCurrentUser();