fuliqi
2024-04-11 d18dd7951c236a56e4a100406fde5b7ceb7d3e07
src/layout/components/Navbar.vue
@@ -41,6 +41,12 @@
    <div class="button-container">
      <el-button type="primary" @click="toScreen">可视化大屏</el-button>
    </div>
    <div class="button-container">
      <el-button type="primary" @click="toSystemB">跳转B系统</el-button>
    </div>
    <div class="button-container">
      <el-button type="primary" @click="toSystemA">跳转A系统</el-button>
    </div>
  </div>
</template>
@@ -109,6 +115,16 @@
      this.$router.push({
        path: '/screen'
      })
    },
    toSystemA() {
      this.$router.push({
        path: '/screen'
      })
    },
    toSystemB() {
      this.$router.push({
        path: '/screen'
      })
    }
  }
}