- 将所有图片路径从绝对路径改为使用 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>
1 line
1.0 KiB
JSON
1 line
1.0 KiB
JSON
{"ast":null,"code":"/**\n * Provided a value and a ValueType, returns the value as that value type.\n */\nconst getValueAsType = (value, type) => {\n return type && typeof value === \"number\" ? type.transform(value) : value;\n};\nexport { getValueAsType };","map":{"version":3,"names":["getValueAsType","value","type","transform"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs"],"sourcesContent":["/**\n * Provided a value and a ValueType, returns the value as that value type.\n */\nconst getValueAsType = (value, type) => {\n return type && typeof value === \"number\"\n ? type.transform(value)\n : value;\n};\n\nexport { getValueAsType };\n"],"mappings":"AAAA;AACA;AACA;AACA,MAAMA,cAAc,GAAGA,CAACC,KAAK,EAAEC,IAAI,KAAK;EACpC,OAAOA,IAAI,IAAI,OAAOD,KAAK,KAAK,QAAQ,GAClCC,IAAI,CAACC,SAAS,CAACF,KAAK,CAAC,GACrBA,KAAK;AACf,CAAC;AAED,SAASD,cAAc","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |