소스 검색

主页路径跳转

lmc 2 년 전
부모
커밋
2c7fb0fa84
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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,