This commit is contained in:
yuexin 2021-03-03 15:30:50 +08:00
commit 999f568554
2 changed files with 3 additions and 0 deletions

View File

@ -72,6 +72,7 @@ export default class DaySignController extends BaseController {
for (let obj of cfgs) {
obj.status = 0
}
record.markModified('data')
record.data.clear()
record.last = 0
betweenDays = 1

View File

@ -65,6 +65,8 @@ class GameRecordClass extends Base<string>{
@prop()
public matchid: string;
@prop()
public mode: number;
@prop({_id: false, type: () => [GamePlayer]})