mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 04:53:31 +08:00
添加空文本校验
This commit is contained in:
@@ -289,7 +289,9 @@ export default {
|
||||
allQuickCommandTags() {
|
||||
let allTags = _.union(
|
||||
...Object.values(this.allQuickCommands).map((x) => x.tags)
|
||||
).concat(["未分类", "来自分享"]);
|
||||
)
|
||||
.concat(["未分类", "来自分享"])
|
||||
.filter((x) => x);
|
||||
if (this.commandSearchKeyword?.length > 1) allTags.push("搜索结果");
|
||||
return allTags;
|
||||
},
|
||||
|
Reference in New Issue
Block a user