Ver Fonte

主页路径跳转

lmc há 1 ano atrás
pai
commit
2c7fb0fa84
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      src/views/home.vue

+ 1 - 1
src/views/home.vue

@@ -481,7 +481,7 @@ export default {
     },
     toPath(path, val) {
       let params = {};
-      if (this.role == "Tenant") {
+      if (this.role == "Tenant" && val) {
         params = {
           tenantId: this.tenantInfo.tenantId,
           tenantName: this.tenantInfo.tenantName,