|
@ -79,6 +79,9 @@ |
|
|
<el-checkbox v-model="form.nodeList" label="输出为 Node List" border></el-checkbox> |
|
|
<el-checkbox v-model="form.nodeList" label="输出为 Node List" border></el-checkbox> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-popover placement="bottom" v-model="form.extraset"> |
|
|
<el-popover placement="bottom" v-model="form.extraset"> |
|
|
|
|
|
<el-row> |
|
|
|
|
|
<el-checkbox v-model="form.new_name" label="Clash New Field"></el-checkbox> |
|
|
|
|
|
</el-row> |
|
|
<el-row> |
|
|
<el-row> |
|
|
<el-checkbox v-model="form.udp" label="启用 UDP"></el-checkbox> |
|
|
<el-checkbox v-model="form.udp" label="启用 UDP"></el-checkbox> |
|
|
</el-row> |
|
|
</el-row> |
|
@ -298,6 +301,16 @@ export default { |
|
|
value: |
|
|
value: |
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/nexitally.ini" |
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/nexitally.ini" |
|
|
}, |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "SoCloud", |
|
|
|
|
|
value: |
|
|
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/socloud.ini" |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "ARK", |
|
|
|
|
|
value: |
|
|
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/ark.ini" |
|
|
|
|
|
}, |
|
|
{ |
|
|
{ |
|
|
label: "贼船", |
|
|
label: "贼船", |
|
|
value: |
|
|
value: |
|
@ -307,11 +320,6 @@ export default { |
|
|
label: "布丁", |
|
|
label: "布丁", |
|
|
value: |
|
|
value: |
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/pud.ini" |
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/pud.ini" |
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
label: "SoCloud", |
|
|
|
|
|
value: |
|
|
|
|
|
"https://subconverter.oss-ap-southeast-1.aliyuncs.com/Rules/RemoteConfig/customized/socloud.ini" |
|
|
|
|
|
} |
|
|
} |
|
|
] |
|
|
] |
|
|
}, |
|
|
}, |
|
@ -349,7 +357,8 @@ export default { |
|
|
scv: false, |
|
|
scv: false, |
|
|
fdn: false, |
|
|
fdn: false, |
|
|
appendType: false, |
|
|
appendType: false, |
|
|
insert: false, // 是否插入默认订阅的节点,对应配置项 insert_url |
|
|
insert: true, // 是否插入默认订阅的节点,对应配置项 insert_url |
|
|
|
|
|
new_name: true, // 是否使用 Clash 新字段 |
|
|
|
|
|
|
|
|
// tpl 定制功能 |
|
|
// tpl 定制功能 |
|
|
tpl: { |
|
|
tpl: { |
|
@ -484,8 +493,9 @@ export default { |
|
|
if (this.form.tpl.surge.doh === true) { |
|
|
if (this.form.tpl.surge.doh === true) { |
|
|
this.customSubUrl += "&surge.doh=true"; |
|
|
this.customSubUrl += "&surge.doh=true"; |
|
|
} |
|
|
} |
|
|
if (this.form.tpl.clash.doh === true) { |
|
|
|
|
|
this.customSubUrl += "&clash.doh=true"; |
|
|
if (this.form.clientType === "clash") { |
|
|
|
|
|
this.customSubUrl += "&new_name=" + this.form.new_name.toString(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -604,7 +614,7 @@ export default { |
|
|
this.backendVersion = res.data.replace(/backend\n$/gm, ""); |
|
|
this.backendVersion = res.data.replace(/backend\n$/gm, ""); |
|
|
this.backendVersion = this.backendVersion.replace("subconverter", ""); |
|
|
this.backendVersion = this.backendVersion.replace("subconverter", ""); |
|
|
}); |
|
|
}); |
|
|
}, |
|
|
} |
|
|
} |
|
|
} |
|
|
}; |
|
|
}; |
|
|
</script> |
|
|
</script> |
|
|