Skip to content

Commit

Permalink
feat(script): 新增【职教云】资源库作业支持
Browse files Browse the repository at this point in the history
  • Loading branch information
ennnncy committed Mar 27, 2024
1 parent 0b05507 commit 3cf9968
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/scripts/src/projects/zjy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,14 @@ const state = {
};

const work_pages: [string, string][] = [
['资源库作业页面', 'study/spockeepTest'],
['作业页面', 'icve-study/coursePreview/jobTes'],
['考试页面', 'icve-study/coursePreview/test']
];

const isWork = window.location.href.includes('icve-study/coursePreview/jobTes');
const isWork =
window.location.href.includes('icve-study/coursePreview/jobTes') ||
window.location.href.includes('study/spockeepTest');
const isExam = window.location.href.includes('icve-study/coursePreview/test');

/**
Expand Down

0 comments on commit 3cf9968

Please sign in to comment.