From 3bd5cdfef5726b3b4f370cd16737220ea00e85fd Mon Sep 17 00:00:00 2001 From: En Date: Wed, 25 Mar 2026 09:52:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(teacher):=20=E4=BF=AE=E5=A4=8D=20CourseBasi?= =?UTF-8?q?cInfo.vue=20=E7=BC=BA=E5=B0=91=20getThemeTagStyle=20=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E7=9A=84=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加 getThemeTagStyle 函数从 @/utils/tagMaps 的导入 - 修复主题标签样式计算时函数未定义的错误 Co-Authored-By: Claude Opus 4.6 --- .../teacher/courses/components/content/CourseBasicInfo.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue b/reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue index c7171e2..627b071 100644 --- a/reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue +++ b/reading-platform-frontend/src/views/teacher/courses/components/content/CourseBasicInfo.vue @@ -68,7 +68,7 @@ import { computed } from 'vue'; import { InfoCircleOutlined, PictureOutlined, BarChartOutlined, } from '@ant-design/icons-vue'; -import { translateGradeTags } from '@/utils/tagMaps'; +import { translateGradeTags, getThemeTagStyle } from '@/utils/tagMaps'; const props = defineProps<{ course: any;