|
@@ -319,7 +319,10 @@ function routerPush(path: RouteLocationRaw) {
|
|
|
router.push(path)
|
|
|
}
|
|
|
function windowPushState(path: string) {
|
|
|
- window.open(`${location.origin}/${path}`, '_self')
|
|
|
+ // 采取如下方式主要由于chrome下history.back()不会重新load页面
|
|
|
+ sessionStorage.setItem('historyLocation', location.href)
|
|
|
+ // window.open(`${location.origin}/${path}`, '_self')
|
|
|
+ location.replace(`${location.origin}/${path}`)
|
|
|
}
|
|
|
|
|
|
function handleValidTask(currentStep: number, idx: number, idy: number) {
|
|
@@ -685,3 +688,12 @@ const TaskEventMap: { [key: string]: () => void } = {
|
|
|
display: none;
|
|
|
}
|
|
|
</style>
|
|
|
+
|
|
|
+<route>
|
|
|
+ {
|
|
|
+ meta: {
|
|
|
+ title: '考试流程',
|
|
|
+ breadcrumb: true,
|
|
|
+ },
|
|
|
+ }
|
|
|
+</route>
|