From 4fa9591629721797386fc11836e3a9deb69cd58c Mon Sep 17 00:00:00 2001 From: lrj <owen.stl@gmail.com> Date: 星期三, 24 九月 2025 17:00:37 +0800 Subject: [PATCH] 修改评分逻辑,支持多个评委 --- web/src/views/carousel/index.vue | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/web/src/views/carousel/index.vue b/web/src/views/carousel/index.vue index 9c417aa..ded5219 100644 --- a/web/src/views/carousel/index.vue +++ b/web/src/views/carousel/index.vue @@ -196,6 +196,7 @@ import { Plus } from '@element-plus/icons-vue' import { CarouselApi } from '@/api/carousel' import { uploadFile, getMediasByTarget, saveMedia, deleteMedia } from '@/api/media' +import { MediaTargetType } from '@/constants/mediaTargetType' // 鍝嶅簲寮忔暟鎹� const loading = ref(false) @@ -395,7 +396,7 @@ }) // 鍔犺浇濯掍綋鍒楄〃锛圱argetType 绾﹀畾锛歝arousel锛� -const CAROUSEL_TARGET_TYPE = 4 // 鍚庣浠g爜涓娇鐢ㄧ殑鏄� targetType=4 +const CAROUSEL_TARGET_TYPE = MediaTargetType.CAROUSEL // 杞挱鍥剧被鍨� const loadMedias = async () => { if (!formData.id) return try { -- Gitblit v1.8.0