menu模块化

This commit is contained in:
fofolee
2022-04-12 18:15:13 +08:00
parent d3e2079f5a
commit 7264db7a5d
8 changed files with 204 additions and 147 deletions

View File

@@ -186,7 +186,7 @@ export default {
resultMaxLength: 10000,
showSidebar: this.action.type !== "run",
isRunCodePage: this.action.type === "run",
parent: this.$parent.$parent.$parent.$parent,
configurationPage: this.$root.$refs.configuration,
commandString: this.$q.platform.is.mac ? "⌘" : "ctrl",
};
},
@@ -200,7 +200,7 @@ export default {
computed: {
allQuickCommandTags() {
return _.without(
this.parent.allQuickCommandTags,
this.configurationPage?.allQuickCommandTags,
"默认",
"未分类",
"搜索结果"