Skip to content

Commit

Permalink
Merge pull request #174 from szkzn/Fix-default-null-value
Browse files Browse the repository at this point in the history
Fixed compatibility bugs
  • Loading branch information
CareyWang authored Jun 27, 2024
2 parents 57b62a6 + e538e52 commit 0a130fc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/views/Subconverter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -408,19 +408,19 @@ export default {
this.form.insert;
if (this.advanced === "2") {
if (this.form.remoteConfig !== "") {
if (this.form.remoteConfig) {
this.customSubUrl +=
"&config=" + encodeURIComponent(this.form.remoteConfig);
}
if (this.form.excludeRemarks !== "") {
if (this.form.excludeRemarks) {
this.customSubUrl +=
"&exclude=" + encodeURIComponent(this.form.excludeRemarks);
}
if (this.form.includeRemarks !== "") {
if (this.form.includeRemarks) {
this.customSubUrl +=
"&include=" + encodeURIComponent(this.form.includeRemarks);
}
if (this.form.filename !== "") {
if (this.form.filename) {
this.customSubUrl +=
"&filename=" + encodeURIComponent(this.form.filename);
}
Expand Down

0 comments on commit 0a130fc

Please sign in to comment.