前端 uni-app 重写: 9页面 H5

This commit is contained in:
zhiqui
2026-11-15 15:09:37 +08:00
parent 513b53672e
commit ea7c2529e9
24104 changed files with 3667749 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
var noop = require('./noop');
exports = function(src, cb) {
cb = cb || noop;
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.onerror = function() {
cb(false);
};
link.onload = function() {
cb(true);
};
link.href = src;
document.head.appendChild(link);
};
module.exports = exports;