龚焕茏
2024-04-09 2e9dc3303941a06935e23c0cc65599471d2e678a
系统增加几个跳转按钮
1个文件已修改
16 ■■■■■ 已修改文件
src/layout/components/Navbar.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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'
      })
    }
  }
}