diff --git a/src/views/Subconverter.vue b/src/views/Subconverter.vue
index 109b674..46b340d 100644
--- a/src/views/Subconverter.vue
+++ b/src/views/Subconverter.vue
@@ -78,15 +78,15 @@
-
+
-
+
-
+
@@ -99,6 +99,12 @@
更多选项
+
+
+
+
+ 模板定制功能
+
@@ -324,7 +330,14 @@ export default {
tfo: false,
scv: false,
fdn: false,
- appendType: false
+ appendType: false,
+
+ // tpl 定制功能
+ tpl: {
+ surge: {
+ doh: false, // dns 查询是否使用 DoH
+ }
+ }
},
loading: false,
@@ -435,6 +448,10 @@ export default {
this.form.fdn.toString() +
"&sort=" +
this.form.sort.toString();
+
+ if (this.form.tpl.surge.doh === true) {
+ this.customSubUrl += "&surge.doh=true"
+ }
}
this.$copyText(this.customSubUrl);