zxl
6 天以前 29ea0fd5d04dbaac800f211e0ac7701de0a7f3f4
src/layout/components/Navbar.vue
@@ -39,14 +39,14 @@
    </div>
    <div class="button-container">
      <el-button type="primary" @click="toScreen" size="small">可视化大屏</el-button>
      <el-button v-if="roles.includes('admin') || roles.includes('county_leader') || roles.includes('city_leader')" type="primary" @click="toScreen" size="small">可视化大屏</el-button>
    </div>
    <div class="button-container">
      <el-button type="primary" @click="toSystemB" size="small">跳转B系统</el-button>
    </div>
    <div class="button-container">
      <el-button type="primary" @click="toSystemA" size="small">跳转A系统</el-button>
    </div>
<!--    <div class="button-container">-->
<!--      <el-button type="primary" @click="toSystemB" size="small">跳转B系统</el-button>-->
<!--    </div>-->
<!--    <div class="button-container">-->
<!--      <el-button type="primary" @click="toSystemA" size="small">跳转A系统</el-button>-->
<!--    </div>-->
  </div>
</template>
@@ -76,7 +76,8 @@
    ...mapGetters([
      'sidebar',
      'avatar',
      'device'
      'device',
      'roles'
    ]),
    setting: {
      get() {