mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-09-24 13:03:30 +08:00
添加三个实用功能
This commit is contained in:
29
src/pages/quickFeaturesPage.vue
Normal file
29
src/pages/quickFeaturesPage.vue
Normal 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>
|
Reference in New Issue
Block a user