提交 51443cf7 作者: 郁骅焌

优化

上级 1438af9f
...@@ -203,7 +203,14 @@ const TabBar = (props) => { ...@@ -203,7 +203,14 @@ const TabBar = (props) => {
const refreshTab = (e) => { const refreshTab = (e) => {
e.preventDefault(); e.preventDefault();
dropByCacheKey(tabActiveKey); dropByCacheKey(tabActiveKey);
if (location.query) {
history.push({
pathname: tabActiveKey,
query: location.query
});
} else {
history.push(tabActiveKey); history.push(tabActiveKey);
}
}; };
const menu = ( const menu = (
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论