mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🌱 验证码登录请求草创 #118
This commit is contained in:
@@ -81,7 +81,7 @@ export function getInitDeviceInfo(): TGApp.App.Device.DeviceInfo {
|
||||
* @param {string} key - 设备信息 key
|
||||
* @returns {string} 设备信息
|
||||
*/
|
||||
export function getDeviceInfo(key: "device_id" | "device_fp"): string {
|
||||
export function getDeviceInfo(key: keyof TGApp.App.Device.DeviceInfo): string {
|
||||
const localDevice = localStorage.getItem("deviceInfo");
|
||||
let deviceInfo: TGApp.App.Device.DeviceInfo;
|
||||
if (localDevice === null) {
|
||||
|
||||
Reference in New Issue
Block a user