mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 21:13:34 +08:00
不再统计命令使用详细数据
This commit is contained in:
@@ -170,10 +170,7 @@ export default {
|
||||
methods: {
|
||||
getUserInfo() {
|
||||
Object.assign(this.userInfo, this.$root.utools.whole.getUser());
|
||||
let statisticsData = this.$root.utools.getDB("cfg_statisticsData");
|
||||
this.userInfo.exp = Object.values(statisticsData)
|
||||
.map((x) => x.length)
|
||||
.reduce((x, y) => x + y);
|
||||
this.userInfo.exp = this.$root.utools.getDB("cfg_exp");
|
||||
this.userInfo.level = this.levelDetail
|
||||
.filter((x) => this.userInfo.exp > x.minExp)
|
||||
.pop().lv;
|
||||
|
Reference in New Issue
Block a user