index.vue 843 B

123456789101112131415161718192021222324252627282930313233
  1. <template>
  2. <div class="errPage-container">
  3. <ErrorA />
  4. <ErrorB />
  5. <!-- $t is vue-i18n global function to translate lang -->
  6. <h3>{{ $t('errorLog.tips') }}</h3>
  7. <aside>
  8. {{ $t('errorLog.description') }}
  9. <a target="_blank" class="link-type" href="https://panjiachen.github.io/vue-element-admin-site/guide/advanced/error.html">
  10. {{ $t('errorLog.documentation') }}
  11. </a>
  12. </aside>
  13. <a href="#">
  14. <img src="https://wpimg.wallstcn.com/360e4842-4db5-42d0-b078-f9a84a825546.gif">
  15. </a>
  16. </div>
  17. </template>
  18. <script>
  19. import ErrorA from './components/ErrorTestA'
  20. import ErrorB from './components/ErrorTestB'
  21. export default {
  22. name: 'ErrorLog',
  23. components: { ErrorA, ErrorB }
  24. }
  25. </script>
  26. <style scoped>
  27. .errPage-container {
  28. padding: 30px;
  29. }
  30. </style>