<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive">
        <!-- 会被缓存的视图组件 -->
      </router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive">
      <!-- 不被缓存的视图组件 -->
    </router-view>
  </div>
</template>

<script>
import { projectconfig } from "@/static/projectconfig";
import { calcInit } from "./network/calcClient";
import { calcGetPopupAlarmStatus } from "./network/calcClient";
import { alert } from "./network/network"


export default {
  name: 'App',
  created() {
    calcInit();
    let searchCondition={
      name:"",
      rank:2,
      startTime:"",
      endTime:""
    }

    alert.getAllActiveAlert(searchCondition,this.c);
  },

  methods: {
  },


}
</script>

<style lang="css" scoped>
#app {
  height: 100%;
}
</style>