Skip to content

Commit c00be22

Browse files
committed
fix
1 parent ac8f802 commit c00be22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Scripts/wsgw.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ class Widget extends DmYY {
9292
`缓存失效时间:${new Date(parseInt(this.settings.cacheDay) + this.cacheTime).toLocaleString()}`
9393
);
9494
this.dataSource = { ...this.settings.data[this.userNum] };
95+
if (!this.dataSource.user) await this.cacheData();
9596
console.log(this.dataSource);
9697
}
9798
};

0 commit comments

Comments
 (0)