App.vue 565 B

12345678910111213141516171819202122232425262728293031323334
  1. <script>
  2. import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
  3. export default {
  4. data() {
  5. return {
  6. locale: zhCN,
  7. }
  8. },
  9. }
  10. </script>
  11. <template>
  12. <a-config-provider :locale="locale">
  13. <router-view />
  14. </a-config-provider>
  15. </template>
  16. <style lang="less">
  17. * {
  18. margin: 0;
  19. padding: 0;
  20. box-sizing: border-box;
  21. }
  22. html,body {
  23. width: 100%;
  24. height: 100%;
  25. overflow: hidden;
  26. }
  27. /* 去除谷歌浏览器input输入框选中情况下的背景色 */
  28. input:-webkit-autofill {
  29. transition: background-color 500000s ease-in-out 0s;
  30. }
  31. </style>