mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/student-h5.git
synced 2025-12-07 01:46:45 +08:00
fix:学员是否在任务中判断
This commit is contained in:
@@ -250,7 +250,7 @@ const { data } = useRequest(
|
||||
} else {
|
||||
closeLoading();
|
||||
console.log("获取路径图", e);
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -190,7 +190,7 @@ const { data } = useRequest(ACTIVITY, { activityId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -215,7 +215,7 @@ const { data } = useRequest(VOTE_DETAIL3, { voteId: courseId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -193,7 +193,7 @@ request(DISCUSS_LIST, {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -120,7 +120,7 @@ const { data } = useRequest(EVALUATION_DETAIL, { evaluationId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -69,7 +69,7 @@ request(EXTERNALEXAM, { externalId: courseId, type })
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -168,7 +168,7 @@ const { data } =
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
console.log("作业判断", e);
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
|
||||
@@ -292,7 +292,7 @@ const { data } = useRequest(
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -259,7 +259,7 @@ const { data } = useRequest(TASK_BROADCAST_DETAIL, { liveId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -93,7 +93,7 @@ const { data } = useRequest(LINK_DETAILS, { linkId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
@@ -261,7 +261,7 @@ useRequest(PROJECT_PROCESS, { projectId: projectId, type }, (e) => {
|
||||
path: "/loseefficacy",
|
||||
});
|
||||
} else {
|
||||
if (e.code === 6) {
|
||||
if (res.code === 6) {
|
||||
router.push({
|
||||
path: "/notpath",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user