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() {
|
getAllQuickCommands() {
|
||||||
this.allQuickCommands = _.cloneDeep(defaultCommands);
|
this.allQuickCommands = _.cloneDeep(defaultCommands);
|
||||||
this.$root.utools
|
this.$root.utools.getAll("qc_").forEach((x) => {
|
||||||
.getAll("qc_")
|
if (x.data.features.code.includes("default_")) return;
|
||||||
.forEach((x) => (this.allQuickCommands[x.data.features.code] = x.data));
|
this.allQuickCommands[x.data.features.code] = x.data;
|
||||||
|
});
|
||||||
this.getAllQuickCommandTags();
|
this.getAllQuickCommandTags();
|
||||||
},
|
},
|
||||||
getAllQuickCommandTags() {
|
getAllQuickCommandTags() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user