<script>
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
export default {
  data() {
    return {
      locale: zhCN,
    }
  },
}
</script>

<template>
  <a-config-provider :locale="locale">
    <router-view />
  </a-config-provider>
</template>

<style lang="less">
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* 去除谷歌浏览器input输入框选中情况下的背景色 */
input:-webkit-autofill {
  transition: background-color 500000s ease-in-out 0s;
}
</style>
