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

31
node_modules/licia/copy.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
var extend = require('./extend');
var noop = require('./noop');
exports = function(text, cb) {
cb = cb || noop;
var el = document.createElement('textarea');
var body = document.body;
extend(el.style, {
fontSize: '12pt',
border: '0',
padding: '0',
margin: '0',
position: 'absolute',
left: '-9999px'
});
el.value = text;
body.appendChild(el);
el.setAttribute('readonly', '');
el.select();
el.setSelectionRange(0, text.length);
try {
document.execCommand('copy');
cb();
} catch (e) {
cb(e);
} finally {
body.removeChild(el);
}
};
module.exports = exports;