新手指南--资源下架跳转到我的发布

This commit is contained in:
guoyue 2022-10-28 17:04:37 +08:00
parent 23a885e051
commit 2774650d96
1 changed files with 2 additions and 4 deletions

View File

@ -267,12 +267,10 @@
}) })
window.open(newpage.href, '_blank') window.open(newpage.href, '_blank')
} else if (data === '资源下架') { } else if (data === '资源下架') {
window.sessionStorage.setItem('type', JSON.stringify('apply')) // --
window.sessionStorage.setItem('type', JSON.stringify('push'))
const newpage = router.resolve({ const newpage = router.resolve({
path: '/personalCenter', path: '/personalCenter',
query: {
tabTypeName: '能力上架'
}
}) })
window.location.href = newpage.href window.location.href = newpage.href
} }