diff --git a/pages/login/login.vue b/pages/login/login.vue index d228c7e..4c7b2d9 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -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(); } };