fix: 创建项目控制台报错
This commit is contained in:
parent
636c8311dc
commit
7918f6cf10
|
@ -178,13 +178,6 @@ export default {
|
||||||
default: true
|
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: {
|
computed: {
|
||||||
currentUser: () => {
|
currentUser: () => {
|
||||||
return getCurrentUser();
|
return getCurrentUser();
|
||||||
|
|
Loading…
Reference in New Issue