diff --git a/src/renderer/src/layout/components/Header.vue b/src/renderer/src/layout/components/Header.vue
index 9cf31b3..d993102 100644
--- a/src/renderer/src/layout/components/Header.vue
+++ b/src/renderer/src/layout/components/Header.vue
@@ -44,9 +44,9 @@ const breadList = ref([])
watch(
() => router.currentRoute.value,
(newValue) => {
- let path = newValue.path
-
- if (path.includes('/model') && path !== ('/model/index')) {
+ console.log(newValue)
+ const { showBread } = newValue.meta
+ if (showBread) {
isShowBack.value = true
breadList.value = newValue.matched.map(item => item.meta)
let data = sessionStore.get('subject.curNode')
diff --git a/src/renderer/src/layout/index.vue b/src/renderer/src/layout/index.vue
index eb99066..2b78391 100644
--- a/src/renderer/src/layout/index.vue
+++ b/src/renderer/src/layout/index.vue
@@ -8,8 +8,8 @@
-
-
+
+
+
diff --git a/src/renderer/src/router/index.js b/src/renderer/src/router/index.js
index 1d6913b..470b3b9 100644
--- a/src/renderer/src/router/index.js
+++ b/src/renderer/src/router/index.js
@@ -47,19 +47,19 @@ export const constantRoutes = [
path: 'curriculum',
component: () => import('@/views/curriculum-standards/index.vue'),
name: 'curriculum-standard',
- meta: { title: '课标研读' }
+ meta: { title: '课标研读', showBread: true }
},
{
path: 'teaching',
component: () => import('@/views/teaching-material/index.vue'),
name: 'teaching-material',
- meta: { title: '教材研读' }
+ meta: { title: '教材研读', showBread: true }
},
{
path: 'examination',
component: () => import('@/views/examination-analysis/index.vue'),
name: 'examination-analysis',
- meta: { title: '考试分析' }
+ meta: { title: '考试分析', showBread: true }
},
{
path: 'management',
@@ -71,13 +71,13 @@ export const constantRoutes = [
path: 'design',
component: () => import('@/views/teachingDesign/index.vue'),
name: 'teaching-design',
- meta: { title: '教学框架设计' },
+ meta: { title: '教学框架设计' , showBread: true},
},
{
path: 'newClassTaskAssign',
component: () => import('@/views/classTask/newClassTaskAssign/index.vue'),
name: 'newClassTaskAssign',
- meta: { title: '作业管理' }
+ meta: { title: '作业设计', showBread: true }
},
{
path: 'questionUpload',
@@ -89,7 +89,7 @@ export const constantRoutes = [
path: 'aiKolors',
component: () => import('@/components/ai-kolors/index.vue'),
name: 'aiKolors',
- meta: { title: '文生图片' }
+ meta: { title: '文生图片', showBread: true }
},
]
},
@@ -132,7 +132,7 @@ const dynamicRoutes = [
path: 'prepare',
component: () => import('@/views/prepare/index.vue'),
name: 'prepare',
- meta: { title: '教学实践', showBread: true }
+ meta: { title: '教学实践' }
},
{
path: 'newClassTask',
@@ -152,13 +152,6 @@ const dynamicRoutes = [
name: 'classCorrect',
meta: { title: '作业批改', showBread: true }
},
- {
- path: '/teach',
- component: () => import('@/views/teach/index.vue'),
- name: 'teach',
- meta: { title: '授课' }
- },
-
{
path: '/profile',
component: () => import('@/views/profile/index.vue'),
diff --git a/src/renderer/src/views/classTask/classTask.vue b/src/renderer/src/views/classTask/classTask.vue
index 61107f9..12beff4 100644
--- a/src/renderer/src/views/classTask/classTask.vue
+++ b/src/renderer/src/views/classTask/classTask.vue
@@ -461,7 +461,6 @@ watch(tabActive, (newVal,oldVal)=>{
height: 100%;
display: flex;
flex-direction: column;
- padding: 15px 30px;
.class-reserv-tabs {
width: 30%;
text-align: left;
diff --git a/src/renderer/src/views/classTask/newClassTask.vue b/src/renderer/src/views/classTask/newClassTask.vue
index 349d4f2..3443bc5 100644
--- a/src/renderer/src/views/classTask/newClassTask.vue
+++ b/src/renderer/src/views/classTask/newClassTask.vue
@@ -134,7 +134,6 @@ onMounted(() => {
\ No newline at end of file
diff --git a/src/renderer/src/views/teach/standardAnalysis/index.vue b/src/renderer/src/views/teach/standardAnalysis/index.vue
index 75b027b..1513d1f 100644
--- a/src/renderer/src/views/teach/standardAnalysis/index.vue
+++ b/src/renderer/src/views/teach/standardAnalysis/index.vue
@@ -346,7 +346,6 @@ onMounted(async () => {