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

41
node_modules/licia/$insert.js generated vendored Normal file
View File

@@ -0,0 +1,41 @@
var each = require('./each');
var $safeEls = require('./$safeEls');
var isStr = require('./isStr');
exports = {
before: insertFactory('beforebegin'),
after: insertFactory('afterend'),
append: insertFactory('beforeend'),
prepend: insertFactory('afterbegin')
};
function insertFactory(type) {
return function(nodes, val) {
nodes = $safeEls(nodes);
each(nodes, function(node) {
if (isStr(val)) {
node.insertAdjacentHTML(type, val);
} else {
var parentNode = node.parentNode;
switch (type) {
case 'beforebegin':
if (parentNode) {
parentNode.insertBefore(val, node);
}
break;
case 'afterend':
if (parentNode) {
parentNode.insertBefore(val, node.nextSibling);
}
break;
case 'beforeend':
node.appendChild(val);
break;
case 'afterbegin':
node.prepend(val);
break;
}
}
});
};
}
module.exports = exports;