Closed Android-KitKat closed 3 years ago
选择您要汇报的包/Choose the package you want to report.
在 188e4b1 中新增了支持 2 开头的 UID。
2
但是在验证国服 UID 200000000 是否合法时,返回 false。
200000000
false
直接使用 node 命令。
node
const { isValidCnUid } = require('genshin-kit').util; isValidCnUid(200000000); isValidCnUid(200000001);
验证国服 UID 200000000 是否合法时,返回 true。
true
国服确实存在这个玩家,图片来自 Womsxd/YuanShen_User_Info#22。
已修复。
选择您要汇报的包/Choose the package you want to report.
简述此故障/Describe the bug
在 188e4b1 中新增了支持
2
开头的 UID。但是在验证国服 UID
200000000
是否合法时,返回false
。如何重现此故障/To Reproduce
直接使用
node
命令。本应出现的情况/Expected behavior
验证国服 UID
200000000
是否合法时,返回true
。截图/Screenshots
环境信息/Your environment
额外说明/Additional context
国服确实存在这个玩家,图片来自 Womsxd/YuanShen_User_Info#22。