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

<script>
export default  {
  name:  'App',
    metaInfo() {
        return {
            title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
            titleTemplate: title => {
                return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
            }
        }
    }
}
/*禁止缩放*/
window.addEventListener('mousewheel', function(event){
  if (event.ctrlKey === true || event.metaKey) {
    event.preventDefault();
  }
},{ passive: false});

//firefox
window.addEventListener('DOMMouseScroll', function(event){
  if (event.ctrlKey === true || event.metaKey) {
    event.preventDefault();
  }
},{ passive: false});
//+_
window.onload = function() {
  document.addEventListener('keydown', function (event) {
    if ((event.ctrlKey === true || event.metaKey === true)
      && (event.which === 61 || event.which === 107
        || event.which === 173 || event.which === 109
        || event.which === 187  || event.which === 189))
    {
      event.preventDefault();
    }
  }, false);
}
</script>

<style lang="scss">
/*本月日期数字*/


</style>
