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/orientation.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
var Emitter = require('./Emitter');
var safeGet = require('./safeGet');
var screen = window.screen;
exports = {
get: function() {
if (screen) {
var orientation = safeGet(screen, 'orientation.type');
if (orientation) return orientation.split('-').shift();
}
return window.innerWidth > window.innerHeight
? 'landscape'
: 'portrait';
}
};
Emitter.mixin(exports);
window.addEventListener(
'orientationchange',
function() {
setTimeout(function() {
exports.emit('change', exports.get());
}, 200);
},
false
);
module.exports = exports;