修改路由带来的小问题
This commit is contained in:
parent
e56c271540
commit
38b1a3704b
|
@ -260,7 +260,7 @@ function Competition(props){
|
|||
// 修改路由,跳转到第几页
|
||||
function updateUrl(page){
|
||||
setCurPage(page);
|
||||
window.location.href=`/expert/admin/competition/#page=${page}`;
|
||||
window.location.href=`/managements/expert/competition/#page=${page}`;
|
||||
}
|
||||
|
||||
function hashDate(hash) {
|
||||
|
|
|
@ -514,7 +514,7 @@ export default Form.create()(({ form, showNotification, match, history, state })
|
|||
|
||||
function setCurPage1(page){
|
||||
setCurPage(page);
|
||||
window.location.href=`/task/taskAdmin#page=${page}`;
|
||||
window.location.href=`/managements/task/taskAdmin#page=${page}`;
|
||||
}
|
||||
|
||||
// 改变排序字段
|
||||
|
|
Loading…
Reference in New Issue