- 将所有图片路径从绝对路径改为使用 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
2.0 KiB
JSON
1 line
2.0 KiB
JSON
{"ast":null,"code":"class WithPromise {\n constructor() {\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this._finished = new Promise(resolve => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\nexport { WithPromise };","map":{"version":3,"names":["WithPromise","constructor","updateFinished","finished","_finished","Promise","resolve","notifyFinished","then","onResolve","onReject"],"sources":["/Users/apple/Documents/cursor/Web课件/AI课/education_web_多Agent协作系统/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs"],"sourcesContent":["class WithPromise {\n constructor() {\n this.updateFinished();\n }\n get finished() {\n return this._finished;\n }\n updateFinished() {\n this._finished = new Promise((resolve) => {\n this.resolve = resolve;\n });\n }\n notifyFinished() {\n this.resolve();\n }\n /**\n * Allows the animation to be awaited.\n *\n * @deprecated Use `finished` instead.\n */\n then(onResolve, onReject) {\n return this.finished.then(onResolve, onReject);\n }\n}\n\nexport { WithPromise };\n"],"mappings":"AAAA,MAAMA,WAAW,CAAC;EACdC,WAAWA,CAAA,EAAG;IACV,IAAI,CAACC,cAAc,CAAC,CAAC;EACzB;EACA,IAAIC,QAAQA,CAAA,EAAG;IACX,OAAO,IAAI,CAACC,SAAS;EACzB;EACAF,cAAcA,CAAA,EAAG;IACb,IAAI,CAACE,SAAS,GAAG,IAAIC,OAAO,CAAEC,OAAO,IAAK;MACtC,IAAI,CAACA,OAAO,GAAGA,OAAO;IAC1B,CAAC,CAAC;EACN;EACAC,cAAcA,CAAA,EAAG;IACb,IAAI,CAACD,OAAO,CAAC,CAAC;EAClB;EACA;AACJ;AACA;AACA;AACA;EACIE,IAAIA,CAACC,SAAS,EAAEC,QAAQ,EAAE;IACtB,OAAO,IAAI,CAACP,QAAQ,CAACK,IAAI,CAACC,SAAS,EAAEC,QAAQ,CAAC;EAClD;AACJ;AAEA,SAASV,WAAW","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]} |