From dc4197b20702d84ee770fbd564a079afd4afce53 Mon Sep 17 00:00:00 2001 From: zhongyingmin Date: Tue, 18 Aug 2026 17:32:18 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20CourseCanvas=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E7=94=BB=E5=B8=83=E5=B0=BA=E5=AF=B8=EF=BC=8C?= =?UTF-8?q?=E7=A7=BB=E9=99=A4=E5=86=97=E4=BD=99=20width/height=20=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 (1M context) --- src/App.tsx | 3 --- src/app.config.ts | 11 ----------- 2 files changed, 14 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 60a5b63..adad0c5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,5 @@ import { useEffect } from "react"; import { Outlet } from "react-router-dom"; -import { appConfig } from "@/app.config"; import { ToastProvider, ToastViewport } from "@/components/ui/toast"; import { CourseCanvas, useCourseCanvas } from "@/course-runtime/canvas"; import { OrientationGuard } from "@/course-runtime/orientation"; @@ -65,8 +64,6 @@ function App() { <> diff --git a/src/app.config.ts b/src/app.config.ts index f7bc34e..5672539 100644 --- a/src/app.config.ts +++ b/src/app.config.ts @@ -20,17 +20,6 @@ export const appConfig = { name: env?.VITE_COURSE_NAME ?? "标准课程页示例", }, - /** 设计稿配置 */ - design: { - width: 1920, - height: 1080, - }, - - /** 整体缩放配置 */ - scale: { - max: 1, - }, - /** 本地存储配置 */ storage: { prefix: "yiban-course-template",