修复加载问题

This commit is contained in:
unanmed 2023-04-21 11:38:44 +08:00
commit 588028c952

View File

@ -219,7 +219,7 @@ function main() {
}
// >>>> body end
main.prototype.loadScript = function (src, module) {
main.prototype.loadScript = async function (src, module) {
const script = document.createElement('script');
script.src = src;
if (module) script.type = 'module';