zhangzengfei
2020-10-16 ce355bb6bf1193c60751b641fd49c4b56b7037f6
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";