App.vue 648 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <template>
  2. <div id="app">
  3. <router-view></router-view>
  4. </div>
  5. </template>
  6. <script>
  7. export default{
  8. name: 'App',
  9. created () {
  10. },
  11. methods: {
  12. },
  13. }
  14. </script>
  15. <style lang="scss">
  16. //解决弹窗抖动
  17. // .dialog-shake{
  18. .el-dialog__wrapper {
  19. display: flex;
  20. justify-content: center;
  21. align-items: center;
  22. .el-dialog {
  23. display: flex;
  24. flex-direction: column;
  25. margin: 0 !important;
  26. max-height: calc(100% - 30px);
  27. max-width: calc(100% - 30px);
  28. .el-dialog__body {
  29. flex: 1;
  30. overflow: auto;
  31. }
  32. }
  33. }
  34. // }
  35. </style>