图标移至src

This commit is contained in:
fofolee
2022-04-15 18:54:21 +08:00
parent 4e879e6dc2
commit e4e7d77808
25 changed files with 22 additions and 14 deletions

View File

@@ -324,11 +324,8 @@ export default {
this.setIcon(this.quickcommandInfo.program);
this.platformVerify();
},
// 没有图标,或者使用了语言图标
setIcon(language) {
this.currentCommand.features.icon?.slice(0, 5) === "data:" ||
(this.currentCommand.features.icon =
this.$parent.getLanguageIcon(language));
this.currentCommand.features.icon = this.$programmings[language].icon;
},
getCommandType() {
let data = { type: "key", match: [] };