fix: 微信登录补充保存username和role
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Agent
2026-04-04 07:35:21 +00:00
parent 756444ef2b
commit d12eea7693
10597 changed files with 817047 additions and 3 deletions

26
node_modules/licia/prefetch.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
function prefetchByLink(url) {
return new Promise(function(resolve, reject) {
var link = document.createElement('link');
link.rel = 'prefetch';
link.href = url;
link.onload = resolve;
link.onerror = reject;
document.head.appendChild(link);
});
}
function prefetchByXhr(url) {
return new Promise(function(resolve, reject) {
var req = new XMLHttpRequest();
req.open('GET', url, (req.withCredentials = true));
req.onload = function() {
req.status === 200 ? resolve() : reject();
};
req.send();
});
}
var link = document.createElement('link');
var supportLink =
(link.relList || {}).supports && link.relList.supports('prefetch');
exports = supportLink ? prefetchByLink : prefetchByXhr;
module.exports = exports;