From bcf5336e7a16ecfed0f6153eaa47bd61fdeb21a4 Mon Sep 17 00:00:00 2001 From: CareyWong Date: Sun, 9 Feb 2020 20:58:49 +0800 Subject: [PATCH] Add new backend feature support --- src/views/Subconverter.vue | 46 +++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/src/views/Subconverter.vue b/src/views/Subconverter.vue index faaaed9..5414310 100644 --- a/src/views/Subconverter.vue +++ b/src/views/Subconverter.vue @@ -25,10 +25,6 @@
- - - - + + + + + + + + + + + + + + + + + + + + 更多选项 + + +
@@ -195,11 +214,18 @@ export default { form: { sourceSubUrl: "", clientType: "", - emoji: "true", customBackend: "", remoteConfig: "", excludeRemarks: "", includeRemarks: "", + emoji: true, + nodeList: false, + extraset: false, + sort: false, + udp: false, + tfo: false, + scv: false, + fdn: true }, loading: false, @@ -286,6 +312,16 @@ export default { this.customSubUrl += "&include=" + encodeURIComponent(this.form.includeRemarks); } + + this.customSubUrl += + "&list=" + + this.form.nodeList.toString() + + "&udp=" + + this.form.udp.toString() + + "&tfo=" + + this.form.tfo.toString() + + "&scv=" + + this.form.scv.toString(); } this.$copyText(this.customSubUrl);