diff --git a/src/router/index.ts b/src/router/index.ts index 6e85bbc..e60814c 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -474,6 +474,12 @@ const routes: RouteRecordRaw[] = [ component: AddExam, meta: { title: '添加试卷' } }, + { + path: 'edit/:id', + name: 'EditExam', + component: AddExam, + meta: { title: '编辑试卷' } + }, { path: 'preview', name: 'ExamPreview',