This commit is contained in:
yuping
2022-12-16 21:25:12 +08:00
parent 00342b3425
commit 9228fc3eac

View File

@@ -388,7 +388,7 @@ function toFinish(d,sName) {
types.value.path[d.type] && types.value.path[d.type].startsWith("http") && window.open(types.value.path[d.type] + d.targetId)
types.value.path[d.type] && types.value.path[d.type].startsWith("/") && router.push({
path: types.value.path[d.type],
query: {id: d.routerTaskId, type: 1, courseId: d.courseId, pName: data.value.name, sName},
query: {id: d.routerTaskId, type: 2, courseId: d.courseId, pName: data.value.name, sName},
})
} else if (typeof types.value.path[d.type] === 'function') {
types.value.path[d.type](d)