mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
将用户配置分为通用和本机
This commit is contained in:
@@ -155,7 +155,7 @@ export default {
|
||||
}
|
||||
},
|
||||
showHelp() {
|
||||
window.showUb.help('#rWU2i')
|
||||
window.showUb.help("#rWU2i");
|
||||
},
|
||||
joinRepo() {
|
||||
quickcommand
|
||||
@@ -167,13 +167,10 @@ export default {
|
||||
});
|
||||
},
|
||||
loadYuQueInfo() {
|
||||
return this.$root.utools.getDB(this.$root.utools.DBPRE.CFG + "extraInfo");
|
||||
return this.$root.utools.getDB("cfg_extraInfo");
|
||||
},
|
||||
saveYuQueInfo() {
|
||||
this.$root.utools.putDB(
|
||||
_.cloneDeep(this.yuQueInfo),
|
||||
this.$root.utools.DBPRE.CFG + "extraInfo"
|
||||
);
|
||||
this.$root.utools.putDB(_.cloneDeep(this.yuQueInfo), "cfg_extraInfo");
|
||||
},
|
||||
},
|
||||
};
|
||||
|
@@ -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