zhangzengfei
2022-09-13 316d969b4d6cff5e478d60f7bc739c4d39a6a0e7
src/views/manageCenter/index.vue
@@ -763,15 +763,13 @@
      const val = userInfo.permissions.find((item) => {
        return item == route.permission
      })
      // 修改为全部在新标签页打开
      if (val) {
        if (route.path === "/search" || route.path === "/dataView") {
          const { href } = this.$router.resolve({
            path: route.path
          })
          window.open(href, "_blank")
          return
        }
        this.$router.push(route.path)
        const { href } = this.$router.resolve({
          path: route.path
        })
        window.open(href, "_blank")
      } else if (!userInfo.parentId) {
        this.$router.push(route.openPath)
      }