@@ -101,9 +101,10 @@
项目采用模块化设计,主要包含以下目录:
-- `src/views/` - 页面组件
-- `src/components/` - 可复用组件
-- `src/api/` - API接口和工具函数
-- `src/router/` - 路由配置
-- `src/utils/` - 工具函数
-- `src/assets/` - 静态资源
+- `src/` - 项目源代码目录
+ - `views/` - 页面组件
+ - `components/` - 可复用组件
+ - `api/` - API接口和工具函数
+ - `router/` - 路由配置
+ - `utils/` - 工具函数
+ - `assets/` - 静态资源
@@ -739,7 +739,6 @@ ${pythonGenerator.prefixLines(branchCode, pythonGenerator.INDENT)}
${pythonGenerator.prefixLines(branchCode, pythonGenerator.INDENT)}
`;
}
-debugger
// 生成else条件
const elseCode = pythonGenerator.statementToCode(block, 'ELSE');
if (elseCode) {
@@ -28,7 +28,6 @@ export const refreshRoleRoute = async () => {
// 存储到localStorage并设置过期时间
setCacheWithExpiry(CONFIG.USER_ROLE_ROUTE_KEY, res.data.routeList);
- debugger
setCacheWithExpiry(CONFIG.USER_ROLE_ROUTE_MENU_KEY, res.data.courseRouteMenuList);
return res.data.routeList;
@@ -524,7 +524,6 @@ const handleSaveProgress = async (type, progress) => {
saveProgressData.arpCourseId = course.value.id;
try {
await saveRecordAiCourse(saveProgressData)
} catch (error) {
console.error(`保存${type}进度失败:`, error)