diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index 2532354f..5e2244a9 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -89,8 +89,7 @@
{{cinfo.teacher=='BOE教师'? '':cinfo.teacher}} - {{cinfo.studiesFormat}}人学习 - {{cinfo.studiesFormat}}+人学习 + {{formatNum(cinfo.studies)}}人学习
@@ -297,7 +296,7 @@ import scene from "@/api/modules/scene.js"; import apiUserGroup from "@/api/modules/usergroup.js"; import interactBar from "@/components/Portal/interactBar.vue"; import courseImage from "@/components/Course/courseImage.vue"; -import { courseType, getType, toScore,formatDate } from "@/utils/tools.js"; +import { courseType, getType, toScore,formatDate,formatUserNumber } from "@/utils/tools.js"; import { deepClone, param } from "../../../utils"; import apiSearchterm from "@/api/modules/searchterm.js"; import apiPlace from "@/api/phase2/place.js" @@ -320,6 +319,7 @@ export default { return { resonimg:{}, formatDate, + formatNum:formatUserNumber, audiences:[],//当前用户的受众 couretitle: "", toScore,