一键申请:融合服务特殊处理
This commit is contained in:
parent
47871e8a02
commit
1455e2e0d7
|
@ -224,6 +224,11 @@
|
||||||
HomeHeader,
|
HomeHeader,
|
||||||
AbilityToApplyFor,
|
AbilityToApplyFor,
|
||||||
},
|
},
|
||||||
|
beforeRouteLeave(from, to, next) {
|
||||||
|
console.log('from, to, next------------>', from, to, next);
|
||||||
|
localStorage.removeItem('integrationServicesItemInfo')
|
||||||
|
next()
|
||||||
|
},
|
||||||
setup() {
|
setup() {
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const disabled = ref(false)
|
const disabled = ref(false)
|
||||||
|
@ -238,7 +243,6 @@
|
||||||
'integrationServicesItemInfo------------>',
|
'integrationServicesItemInfo------------>',
|
||||||
integrationServicesItemInfo
|
integrationServicesItemInfo
|
||||||
)
|
)
|
||||||
|
|
||||||
const applyAll = router.currentRoute.value.query.applyAll
|
const applyAll = router.currentRoute.value.query.applyAll
|
||||||
const num = ref(0)
|
const num = ref(0)
|
||||||
if (!applyAll) {
|
if (!applyAll) {
|
||||||
|
@ -372,6 +376,7 @@
|
||||||
//退出返回上一页
|
//退出返回上一页
|
||||||
const resetFields = () => {
|
const resetFields = () => {
|
||||||
window.history.go(-1)
|
window.history.go(-1)
|
||||||
|
localStorage.removeItem('integrationServicesItemInfo')
|
||||||
}
|
}
|
||||||
|
|
||||||
// 跳转到能力集市
|
// 跳转到能力集市
|
||||||
|
@ -805,9 +810,11 @@
|
||||||
updateIntegrationServices(_data)
|
updateIntegrationServices(_data)
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
console.log('res---更新--------->', res)
|
console.log('res---更新--------->', res)
|
||||||
|
localStorage.removeItem('integrationServicesItemInfo')
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.log('err----更新-------->', err)
|
console.log('err----更新-------->', err)
|
||||||
|
localStorage.removeItem('integrationServicesItemInfo')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in New Issue