提交 c1e813ff authored 作者: vipcxj's avatar vipcxj

1.修复快捷导航路由错误

上级 dfc5cee5
...@@ -32,7 +32,7 @@ export default { ...@@ -32,7 +32,7 @@ export default {
yield call(setDomain, name, path); yield call(setDomain, name, path);
yield put({ type: 'queryInit', payload: path }); yield put({ type: 'queryInit', payload: path });
if (config.fastNavigationPage) { if (config.fastNavigationPage) {
yield put(routerRedux.push(fullPath(`/${config.fastNavigationPage}`))); yield put(routerRedux.push(fullPath('/fastNav')));
} else { } else {
yield put(routerRedux.push(fullPath('/main'))); yield put(routerRedux.push(fullPath('/main')));
} }
......
...@@ -42,7 +42,7 @@ export default { ...@@ -42,7 +42,7 @@ export default {
const { name } = yield call(currentDomain); const { name } = yield call(currentDomain);
yield call(setDomain, name, path); yield call(setDomain, name, path);
if (config.fastNavigationPage) { if (config.fastNavigationPage) {
yield put(routerRedux.push(fullPath(`/${config.fastNavigationPage}`))); yield put(routerRedux.push(fullPath('/fastNav')));
} else { } else {
yield put(routerRedux.push(fullPath('/main'))); yield put(routerRedux.push(fullPath('/main')));
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论