- 将所有图片路径从绝对路径改为使用 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>
27 lines
840 B
JavaScript
27 lines
840 B
JavaScript
function _importDeferProxy(e) {
|
|
var t = null,
|
|
constValue = function constValue(e) {
|
|
return function () {
|
|
return e;
|
|
};
|
|
},
|
|
proxy = function proxy(r) {
|
|
return function (n, o, f) {
|
|
return null === t && (t = e()), r(t, o, f);
|
|
};
|
|
};
|
|
return new Proxy({}, {
|
|
defineProperty: constValue(!1),
|
|
deleteProperty: constValue(!1),
|
|
get: proxy(Reflect.get),
|
|
getOwnPropertyDescriptor: proxy(Reflect.getOwnPropertyDescriptor),
|
|
getPrototypeOf: constValue(null),
|
|
isExtensible: constValue(!1),
|
|
has: proxy(Reflect.has),
|
|
ownKeys: proxy(Reflect.ownKeys),
|
|
preventExtensions: constValue(!0),
|
|
set: constValue(!1),
|
|
setPrototypeOf: constValue(!1)
|
|
});
|
|
}
|
|
module.exports = _importDeferProxy, module.exports.__esModule = true, module.exports["default"] = module.exports; |