添加三个实用功能

This commit is contained in:
fofolee
2022-04-15 17:45:58 +08:00
parent 8794a02f39
commit 4e879e6dc2
5 changed files with 221 additions and 11 deletions

View File

@@ -0,0 +1,29 @@
<script>
export default {
data() {
return {
featureType: this.$route.params.featuretype,
};
},
mounted() {
switch (this.featureType) {
case "pluNickName":
this.showNickNameSetting();
break;
case "favFile":
break;
case "favUrl":
break;
default:
break;
}
},
methods: {
showNickNameSetting() {
quickcommand
.showInputBox(["插件的功能关键字", "要设置的别名"], "插件别名设置")
.then((res) => {});
},
},
};
</script>