<template>
  <div class="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "App",
  data() {
    return {};
  },
  created() {
    // this.$store.commit("updateProjectIndex", null);
    // this.$store.commit("updateFormIndex", null);
    // this.$store.commit("updateFormInfo", {});
    localStorage.removeItem("active-menu");
    localStorage.removeItem("ayb-form-design");
    this.$store.commit("updateFormInfo", {});
  }
};
</script>

<style>
/* vscode 需要重置背景和样式 */
body {
  background: white;
  padding: 0;
}
.ele-form-btns {
  text-align: center;
}
.app {
  min-width: 1024px;
}
</style>
