Skip to content

Commit

Permalink
修复 web 端新增订阅窗口关闭时默认将订阅类型置为'FILE'的 bug #8
Browse files Browse the repository at this point in the history
  • Loading branch information
lanyuanxiaoyao committed Jan 18, 2021
1 parent 157aa22 commit a0aecc3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/settings/Rules.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,9 @@ export default {
file: '',
url: '',
}
if (this.mode === 'web') {
this.addModal.form.type = 'URL'
}
this.addModal.visible = false
},
importAllSubscriptions() {
Expand Down

0 comments on commit a0aecc3

Please sign in to comment.