07 2020 档案

摘要:1 import axios from 'axios'; 2 import { 3 Message 4 } from 'element-ui'; 5 import qs from 'qs'; 6 import router from '@/router' 7 8 9 axios.defaults.h 阅读全文
posted @ 2020-07-22 11:49 每天进步1'' 阅读(699) 评论(0) 推荐(0)
摘要:1、404模板页 1 <template> 2 <div class="err404"> 3 <h4>您访问的页面不见了!</h4> 4 <h5> 5 <router-link to="manage" class="go-home">去首页</router-link> 6 </h5> 7 </div 阅读全文
posted @ 2020-07-22 11:47 每天进步1'' 阅读(2724) 评论(0) 推荐(0)
摘要:第一步:注册页面所有的路由,此处代码省略,注意404路由一定要放在最下面 1 ... 2 { 3 path: '/404', 4 name: '404', 5 component: notFound, 6 hidden: true 7 }, 8 { 9 path: '*', 10 redirect: 阅读全文
posted @ 2020-07-22 11:45 每天进步1'' 阅读(4400) 评论(0) 推荐(0)