mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-20 10:55:43 +08:00
将用户配置分为通用和本机
This commit is contained in:
@@ -170,9 +170,7 @@ export default {
|
||||
methods: {
|
||||
getUserInfo() {
|
||||
Object.assign(this.userInfo, this.$root.utools.whole.getUser());
|
||||
let statisticsData = this.$root.utools.getDB(
|
||||
this.$root.utools.DBPRE.CFG + "statisticsData"
|
||||
);
|
||||
let statisticsData = this.$root.utools.getDB("cfg_statisticsData");
|
||||
this.userInfo.exp = Object.values(statisticsData)
|
||||
.map((x) => x.length)
|
||||
.reduce((x, y) => x + y);
|
||||
|
||||
Reference in New Issue
Block a user