From 0efc5e54857b44b9e622b9dad33b3ef3aaefe23b Mon Sep 17 00:00:00 2001 From: caozc Date: Sat, 25 Feb 2023 22:43:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=AE=BE=E7=BD=AE-=E7=BC=96=E8=BE=91?= =?UTF-8?q?=EF=BC=9A=E7=82=B9=E5=87=BB=E7=BC=96=E8=BE=91=E8=B7=B3=E8=BD=AC?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/projectcenter/templateAdd.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/projectcenter/templateAdd.vue b/src/views/projectcenter/templateAdd.vue index a03aa715..d376df65 100644 --- a/src/views/projectcenter/templateAdd.vue +++ b/src/views/projectcenter/templateAdd.vue @@ -271,7 +271,7 @@ const projectPic = ref([]); const courseSyncFlag = ref(true) onMounted(() => { getDetail(); - projectPic.value = store.state.projectPic.map((e) => ({ + projectPic.value = store.state.project_pic.map((e) => ({ value: e.dictValue, label: e.dictName, })); @@ -298,6 +298,7 @@ const getDetail = () => const backPage = () => { router.push({ path: "/libraryAdd", + query: { projectTemplateId : route.query.projectTemplateId} }); };