<template>
  <div id="app">
    <layout/>
  </div>
</template>

<script>
import { register } from '@/api/polling'
import Layout from './components/layout/index.vue'
export default {
  name: 'App',
  components: { Layout },
  // watch: {
  //   '$route.query.nfccode': {
  //     deep: true,
  //     handler (old, value) {
  //       console.log(this.$route, '刷新打卡了，yes')
  //       if (old && old !== value) {
  //         console.log(old, value, '看看新老参数')
  //         if (sessionStorage.getItem('token')) {
  //           this.getRegister()
  //         } else {
  //           this.$notify({
  //             type: 'danger',
  //             message: '请先登陆后进行打卡！',
  //             duration: 1500
  //           })
  //         }
  //       }
  //     }
  //   }
  // },
  mounted () {
  },
  methods: {

  }

}
</script>

<style lang="less">
#app {
  font-family: 'PingFang SC', Helvetica, Arial, sans-serif;
  width: 100vw !important;
  height: 100vh !important;
  font-size: 14px;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow: hidden;
  text-align: center;
  -webkit-touch-callout: none !important;
  -webkit-user-select: none;
}
    * {
-webkit-touch-callout:none;
-webkit-user-select:none;
-khtml-user-select:none;
-moz-user-select:none;
-ms-user-select:none;
user-select:none;
}

</style>
