fix: 修复切换工作空间跳到空白页面,提供默认的路由

--bug=1007844 --user=刘瑞斌 【通用功能】用户切换工作空间后,默认显示了空白页面 https://www.tapd.cn/55049933/s/1071039
This commit is contained in:
CaptainB 2021-11-20 17:35:52 +08:00 committed by 刘瑞斌
parent 96fa4357cb
commit c2b3baa414
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Vue.use(VueRouter);
const requireContext = require.context('@/business/components/xpack/', true, /router\.js$/);
const router = new VueRouter({
routes: [
{path: "/", redirect: '/setting'},
{
path: "/sidebar",
components: {