mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-17 06:46:50 +08:00
init
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
}"
|
||||
@click="toFinish(value)"
|
||||
>
|
||||
{{ types.path[value.type] ? types.toName[value.type] : "未开放" }}
|
||||
{{ value.status === 1 ? '已完成' : types.path[value.type] ? types.toName[value.type] : "未开放" }}
|
||||
</div>
|
||||
<!-- <div :style="{ display: value.status === 1 ? 'block' : 'none' }">-->
|
||||
<!-- <div-->
|
||||
@@ -599,8 +599,7 @@ function toFinish(d) {
|
||||
}
|
||||
if (types.value.path[d.type] && types.value.path[d.type].startsWith("http")) {
|
||||
//配置文件
|
||||
const url =
|
||||
types.value.path[d.type] + (d.type === 1 ? d.targetId : d.courseId);
|
||||
const url = types.value.path[d.type] + d.courseId;
|
||||
import.meta.env.DEV
|
||||
? (window.location.href = url)
|
||||
: (window.parent.location.href = url);
|
||||
|
||||
Reference in New Issue
Block a user