数数:消耗来源

This commit is contained in:
luying
2021-12-14 13:18:29 +08:00
parent e9c471c583
commit b6501ee4a2
70 changed files with 503 additions and 305 deletions
+4
View File
@@ -222,6 +222,10 @@ export class Figure {
unlockedId?: number[]; // 当前已经解锁了的type
@prop({ required: true, default: false })
unlocked: boolean = false; // 是否已解锁
// 埋点用
inc?: number;
reason?: number;
public get status () { // 虚拟字段status,当前头像是否已经解锁
if(!this.unlocked) return this.unlocked; // 未解锁