一键申请:融合服务特殊处理

This commit is contained in:
guoyue 2022-09-19 19:23:41 +08:00
parent 47871e8a02
commit 1455e2e0d7
1 changed files with 8 additions and 1 deletions

View File

@ -224,6 +224,11 @@
HomeHeader,
AbilityToApplyFor,
},
beforeRouteLeave(from, to, next) {
console.log('from, to, next------------>', from, to, next);
localStorage.removeItem('integrationServicesItemInfo')
next()
},
setup() {
const router = useRouter()
const disabled = ref(false)
@ -238,7 +243,6 @@
'integrationServicesItemInfo------------>',
integrationServicesItemInfo
)
const applyAll = router.currentRoute.value.query.applyAll
const num = ref(0)
if (!applyAll) {
@ -372,6 +376,7 @@
//退
const resetFields = () => {
window.history.go(-1)
localStorage.removeItem('integrationServicesItemInfo')
}
//
@ -805,9 +810,11 @@
updateIntegrationServices(_data)
.then((res) => {
console.log('res---更新--------->', res)
localStorage.removeItem('integrationServicesItemInfo')
})
.catch((err) => {
console.log('err----更新-------->', err)
localStorage.removeItem('integrationServicesItemInfo')
})
}
return {