App.vue 481 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div id="app">
  3. <el-row>
  4. <main-layout></main-layout>
  5. </el-row>
  6. </div>
  7. </template>
  8. <script>
  9. import mainLayout from '@/layout/main-layout.vue';
  10. export default {
  11. name: 'app',
  12. components: {
  13. mainLayout,
  14. },
  15. data: () => ({}),
  16. };
  17. </script>
  18. <style lang="less">
  19. html {
  20. overflow-x: hidden;
  21. overflow-y: auto;
  22. }
  23. body {
  24. margin: 0;
  25. overflow-x: hidden;
  26. }
  27. .textOver {
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. white-space: nowrap;
  31. }
  32. </style>