bb0503b1 by 田浩浩

添加默认404页面

1 parent 8ee04274
<template>
<div class="wscn-http404-container">
<div>
<img src="./404.png" alt="">
</div>
</template>
......@@ -34,14 +34,14 @@ export default {
.wscn-http404 {
position: relative;
width: 1200px;
width: 100%;
padding: 0 50px;
overflow: hidden;
.pic-404 {
position: relative;
float: left;
width: 600px;
width: 100%;
overflow: hidden;
&__parent {
......
......@@ -20,9 +20,9 @@ export function getForm(tabName, djywbm) {
case "fwsyqslxx300":
form = require("@/views/ywbl/fdcq2/slxx300.vue");
break;
case "fwsyqslxx400":
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "fwsyqslxx400":
form = require("@/views/ywbl/fdcq2/slxx400.vue");
break;
case "tdslxxCfdj":
form = require("@/views/ywbl/cfdj/tdslxx.vue");
break;
......@@ -53,6 +53,9 @@ export function getForm(tabName, djywbm) {
case "fzxx":
form = require("@/views/workflow/components/fzxx.vue");
break;
default:
form = require("@/views/error-page/404.vue");
break;
}
return (r) => require.ensure([], () => r(form));
}
......