mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 14:34:13 +08:00
修复默认命令被覆盖的bug
This commit is contained in:
parent
7c5ce1dfab
commit
325c6c746a
@ -334,9 +334,10 @@ export default {
|
||||
// 获取所有的快捷命令(导出的格式)
|
||||
getAllQuickCommands() {
|
||||
this.allQuickCommands = _.cloneDeep(defaultCommands);
|
||||
this.$root.utools
|
||||
.getAll("qc_")
|
||||
.forEach((x) => (this.allQuickCommands[x.data.features.code] = x.data));
|
||||
this.$root.utools.getAll("qc_").forEach((x) => {
|
||||
if (x.data.features.code.includes("default_")) return;
|
||||
this.allQuickCommands[x.data.features.code] = x.data;
|
||||
});
|
||||
this.getAllQuickCommandTags();
|
||||
},
|
||||
getAllQuickCommandTags() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user