Browse Source

Add v0.4.0 new features support

develop
CareyWong 5 years ago
parent
commit
eb8966ef38
  1. 9
      src/views/Subconverter.vue

9
src/views/Subconverter.vue

@ -63,6 +63,9 @@
<el-form-item label="ExcludeRemarks:"> <el-form-item label="ExcludeRemarks:">
<el-input v-model="form.excludeRemarks" placeholder="节点名不包含的关键字,支持正则" /> <el-input v-model="form.excludeRemarks" placeholder="节点名不包含的关键字,支持正则" />
</el-form-item> </el-form-item>
<el-form-item label="FileName:">
<el-input v-model="form.filename" placeholder="返回的订阅文件名" />
</el-form-item>
<el-form-item label-width="0px"> <el-form-item label-width="0px">
<el-row type="flex"> <el-row type="flex">
<el-col> <el-col>
@ -220,6 +223,7 @@ export default {
Quantumult: "quan", Quantumult: "quan",
QuantumultX: "quanx", QuantumultX: "quanx",
Surfboard: "surfboard", Surfboard: "surfboard",
Loon: "loon",
ss: "ss", ss: "ss",
ssr: "ssr", ssr: "ssr",
ssd: "ssd" ssd: "ssd"
@ -289,6 +293,7 @@ export default {
remoteConfig: "", remoteConfig: "",
excludeRemarks: "", excludeRemarks: "",
includeRemarks: "", includeRemarks: "",
filename: "",
emoji: true, emoji: true,
nodeList: false, nodeList: false,
extraset: false, extraset: false,
@ -386,6 +391,10 @@ export default {
this.customSubUrl += this.customSubUrl +=
"&include=" + encodeURIComponent(this.form.includeRemarks); "&include=" + encodeURIComponent(this.form.includeRemarks);
} }
if (this.form.filename !== "") {
this.customSubUrl +=
"&filename=" + encodeURIComponent(this.form.filename);
}
this.customSubUrl += this.customSubUrl +=
"&emoji=" + "&emoji=" +

Loading…
Cancel
Save