fix: singer
All checks were successful
构建并部署前端到生产环境 / build-and-deploy (push) Successful in 48s

This commit is contained in:
sexygoat
2026-04-30 17:41:05 +08:00
parent f505d85018
commit a5c7e46dd7

View File

@@ -196,9 +196,9 @@ const handleScanLogin = async () => {
const getPathDeviceId = () => {
const params = new URLSearchParams(window.location.search);
const device_id = params.get('device_id');
if (deviceId) {
identifier.value = device_id;
const identifier = params.get('identifier');
if (identifier) {
identifier.value = identifier;
handleLogin();
}
};