mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-06 17:36:45 +08:00
提交
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
>
|
||||
<div
|
||||
class="path-item"
|
||||
@touchstart="toFinish(item)"
|
||||
@click.native="toFinish(item)"
|
||||
:style="position(index)"
|
||||
v-for="(item, index) of stageProcessList"
|
||||
>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
}" -->
|
||||
<template v-if="stageProcessList && stageProcessList.length">
|
||||
<div
|
||||
@touchstart="toFinish(item)"
|
||||
@click.native="toFinish(item)"
|
||||
:id="item.id"
|
||||
v-for="(item, key) in stageProcessList"
|
||||
:key="key"
|
||||
@@ -505,8 +505,9 @@ async function toFinish(d) {
|
||||
taskType: d.courseType,
|
||||
});
|
||||
}
|
||||
|
||||
console.log("TASK_TYPES.path[d.type]", TASK_TYPES.path[d.courseType]);
|
||||
if (typeof TASK_TYPES.path[d.courseType] === "string") {
|
||||
|
||||
TASK_TYPES.path[d.courseType] &&
|
||||
TASK_TYPES.path[d.courseType].startsWith("http") &&
|
||||
window.open(TASK_TYPES.path[d.type] + d.targetId, "_top");
|
||||
@@ -553,6 +554,7 @@ async function toFinish(d) {
|
||||
courseId: d.courseId ? d.courseId : d.info.id,
|
||||
targetId: d.targetId ? d.targetId : "",
|
||||
};
|
||||
alert(1)
|
||||
TASK_TYPES.path[d.courseType](params);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
? 'path-item-left'
|
||||
: 'path-item-right'
|
||||
"
|
||||
@touchstart="toFinish(item)"
|
||||
@click.native="toFinish(item)"
|
||||
:style="point[item.position]"
|
||||
v-for="(item, index) of stageProcessList"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user