zhangzengfei
2020-10-16 023ac899959a68753a66981f59cf3beda8c18bfb
修复左侧树摄像机菜单显示
1个文件已修改
3 ■■■■ 已修改文件
src/components/LeftNav.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/components/LeftNav.vue
@@ -293,8 +293,7 @@
      return true;
    },
    showCam() {
      debugger
      return this.appName === "Camera" || (this.appName === "Search" && this.buttonAuthority.indexOf("search:camera") >= 0);
      return this.appName === "Camera" || (this.appName === "Search" && (this.buttonAuthority.indexOf("search:camera") >= 0 || this.isAdmin));
    },
    showCluster() {
      return this.appName === "Cluster";