添加 Surge Hybrid 参数支持,添加一键上传所有节点配置到 Gist

This commit is contained in:
Peng-YM
2021-09-03 18:05:22 +08:00
parent 71d7f35b06
commit 74daeb3035
7 changed files with 81 additions and 19 deletions

View File

@@ -105,6 +105,14 @@ export default {
this.save();
},
},
created() {
if (typeof this.args !== 'undefined') {
this.action = this.args.action || this.action;
this.position = this.args.position || this.position;
this.template = this.args.template || this.template;
this.link = typeof this.args.link !== 'undefined' ? this.args.link : this.link;
}
}
};
</script>