mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🐞 fix: 修复部分用户显示不出rbs
This commit is contained in:
parent
4cda4d046a
commit
8d6152e8ef
@ -674,7 +674,11 @@ export class tools extends plugin {
|
||||
|
||||
// 解构所需的字段
|
||||
const { face, uname, level_info, money, wallet, vipStatus } = biliData;
|
||||
const { following, follower, dynamic_count } = biliStat;
|
||||
const {
|
||||
following = 0, // 默认值为 0
|
||||
follower = 0, // 默认值为 0
|
||||
dynamic_count = 0 // 默认值为 0
|
||||
} = biliStat || {}; // 如果 biliStat 为 undefined,使用空对象解构
|
||||
|
||||
// 获取屏幕截图所需的数据
|
||||
const screenData = await new BiliInfoModel(e).getData({
|
||||
|
Loading…
x
Reference in New Issue
Block a user