当用户单租户多部门时存在未setTenant的BUG #2053

This commit is contained in:
zhangdaiscott
2020-12-09 17:38:51 +08:00
parent 9db1ed26f2
commit b695bb57da
@@ -183,8 +183,8 @@
return false return false
} }
this.departResolve().then(()=>{ this.departResolve().then(()=>{
if(this.isMultiTenant){
this.$store.dispatch('saveTenant', this.tenant_id); this.$store.dispatch('saveTenant', this.tenant_id);
if(this.isMultiTenant){
this.$emit('success') this.$emit('success')
}else{ }else{
this.$emit('success') this.$emit('success')