无人机管理后台前端(已迁走)
zhongrj
2024-11-29 7191db186e369db523ded376973f0d20378926c4
tab 值异常问题解决
2 files modified
8 ■■■■■ changed files
src/views/device/fly.vue 1 ●●●● patch | view | raw | blame | history
src/views/device/index.vue 7 ●●●● patch | view | raw | blame | history
src/views/device/fly.vue
@@ -18,7 +18,6 @@
      @current-change="currentChange"
      @size-change="sizeChange"
      @refresh-change="refreshChange"
      @on-load="onLoad"
    >
      <template #menu-left>
        <el-button
src/views/device/index.vue
@@ -49,12 +49,15 @@
      return ids.join(',');
    },
  },
  created(){
    // 默认打开机场页面
  },
  methods: {
    handleClick(tab, event) {
      if (tab.index == 0) {
      if (tab.index == 1) {
        this.$refs.fly.init();
      }
      if (tab.index == 1) {
      if (tab.index == 0) {
        this.$refs.airport.init();
      }
    },