Files
ai-course/node_modules/.cache/babel-loader/c7796e34bd53c146d9eea02175c5679341d1971a9711b27dded060f0127b4939.json
KQL ce6aa207e9 fix: 修复图片路径以适配GitHub Pages base path
- 将所有图片路径从绝对路径改为使用 process.env.PUBLIC_URL
- 修复 HomePage.tsx 中所有图片引用
- 修复 CoursePage.tsx 中所有图片引用
- 确保图片在 GitHub Pages 上正确加载

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 09:24:45 +08:00

1 line
2.1 KiB
JSON

{"ast":null,"code":"import { isDragging } from './is-active.mjs';\nfunction setDragLock(axis) {\n if (axis === \"x\" || axis === \"y\") {\n if (isDragging[axis]) {\n return null;\n } else {\n isDragging[axis] = true;\n return () => {\n isDragging[axis] = false;\n };\n }\n } else {\n if (isDragging.x || isDragging.y) {\n return null;\n } else {\n isDragging.x = isDragging.y = true;\n return () => {\n isDragging.x = isDragging.y = false;\n };\n }\n }\n}\nexport { setDragLock };","map":{"version":3,"names":["isDragging","setDragLock","axis","x","y"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs"],"sourcesContent":["import { isDragging } from './is-active.mjs';\n\nfunction setDragLock(axis) {\n if (axis === \"x\" || axis === \"y\") {\n if (isDragging[axis]) {\n return null;\n }\n else {\n isDragging[axis] = true;\n return () => {\n isDragging[axis] = false;\n };\n }\n }\n else {\n if (isDragging.x || isDragging.y) {\n return null;\n }\n else {\n isDragging.x = isDragging.y = true;\n return () => {\n isDragging.x = isDragging.y = false;\n };\n }\n }\n}\n\nexport { setDragLock };\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,iBAAiB;AAE5C,SAASC,WAAWA,CAACC,IAAI,EAAE;EACvB,IAAIA,IAAI,KAAK,GAAG,IAAIA,IAAI,KAAK,GAAG,EAAE;IAC9B,IAAIF,UAAU,CAACE,IAAI,CAAC,EAAE;MAClB,OAAO,IAAI;IACf,CAAC,MACI;MACDF,UAAU,CAACE,IAAI,CAAC,GAAG,IAAI;MACvB,OAAO,MAAM;QACTF,UAAU,CAACE,IAAI,CAAC,GAAG,KAAK;MAC5B,CAAC;IACL;EACJ,CAAC,MACI;IACD,IAAIF,UAAU,CAACG,CAAC,IAAIH,UAAU,CAACI,CAAC,EAAE;MAC9B,OAAO,IAAI;IACf,CAAC,MACI;MACDJ,UAAU,CAACG,CAAC,GAAGH,UAAU,CAACI,CAAC,GAAG,IAAI;MAClC,OAAO,MAAM;QACTJ,UAAU,CAACG,CAAC,GAAGH,UAAU,CAACI,CAAC,GAAG,KAAK;MACvC,CAAC;IACL;EACJ;AACJ;AAEA,SAASH,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}