<template>
  <div class="routerWapper">
    <div class="portalDetailTitle" v-if="$route.name == 'actionList'">
      <a-tabs default-active-key="1" @change="handleLoad">
        <a-tab-pane key="1" tab="触发">
          <Trigger />
        </a-tab-pane>
        <a-tab-pane key="2" tab="执行">
          <Actions />
        </a-tab-pane>
      </a-tabs>
    </div>
  </div>
</template>

<script>
import Trigger from '@/views/action/actionListTrigger'
import Actions from '@/views/action/actionListAction'
export default {
  components: {
    Trigger,
    Actions
  },
  data() {
    return {
      timer: '',
    }
  },
  methods: {
    handleLoad () {
      this.timer = new Date().getTime()
    }
  }
}
</script>

<style scoped>
.itemMargin {
  margin-top: 14px;
  margin-bottom: 14px
}
</style>
