mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
支持标签排序,默认标签放到最后面
This commit is contained in:
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
currentTag: "默认",
|
||||
currentTag: "",
|
||||
lastTag: "",
|
||||
activatedQuickCommandFeatureCodes: [],
|
||||
activatedQuickPanels: [],
|
||||
@@ -205,13 +205,11 @@ export default {
|
||||
this.getAllQuickCommandTags();
|
||||
},
|
||||
getAllQuickCommandTags() {
|
||||
// 获取所有标签
|
||||
this.allQuickCommandTags = _.union(
|
||||
...Object.values(this.allQuickCommands).map((x) => x.tags)
|
||||
)
|
||||
.concat([
|
||||
"未分类",
|
||||
// "来自分享"
|
||||
])
|
||||
.concat(["未分类"])
|
||||
.filter((x) => x);
|
||||
},
|
||||
// 监听命令变更事件
|
||||
|
Reference in New Issue
Block a user