index.vue 670 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <ele-exception
  3. title="500"
  4. description="抱歉, 服务器出错了"
  5. style="margin: 145px 0"
  6. >
  7. <template v-slot:icon>
  8. <img
  9. alt=""
  10. src="@/assets/ic-500.svg"
  11. style="width: 400px; height: 185px"
  12. />
  13. </template>
  14. <template v-slot:extra>
  15. <router-link to="/">
  16. <el-button type="primary">返回首页</el-button>
  17. </router-link>
  18. </template>
  19. </ele-exception>
  20. </template>
  21. <script>
  22. import { EleException } from 'ele-admin';
  23. export default {
  24. // eslint-disable-next-line vue/multi-word-component-names
  25. name: 'Exception500',
  26. components: { EleException }
  27. };
  28. </script>