mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
提交
This commit is contained in:
@@ -608,7 +608,7 @@ const dialogVisible = ref(false);
|
|||||||
const dialogVisibleTip = ref("该任务无法学习,请联系管理员进行替换!");
|
const dialogVisibleTip = ref("该任务无法学习,请联系管理员进行替换!");
|
||||||
|
|
||||||
async function toFinish(d) {
|
async function toFinish(d) {
|
||||||
if (d.completionStatus == 0 || !d.canLearn) {
|
if (!d.canLearn) {
|
||||||
ElMessage.warning(`学习任务暂未开始`);
|
ElMessage.warning(`学习任务暂未开始`);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user