Explorar el Código

主页路径跳转

lmc hace 2 años
padre
commit
2c7fb0fa84
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,