mirror of
https://github.com/cuiocean/ZY-Player.git
synced 2026-05-06 04:51:29 +08:00
添加源后清空输入框
This commit is contained in:
@@ -149,6 +149,11 @@ export default {
|
||||
download: this.newSite.download
|
||||
}
|
||||
sites.add(doc).then(res => {
|
||||
this.newSite = {
|
||||
name: '',
|
||||
api: '',
|
||||
download: ''
|
||||
}
|
||||
this.$message.success('添加新源成功!')
|
||||
this.getSites()
|
||||
})
|
||||
|
||||
@@ -20,7 +20,7 @@ export default {
|
||||
Vue.component('Setting', Setting)
|
||||
Vue.component('Detail', Detail)
|
||||
Vue.component('Share', Share)
|
||||
Vue.component('History', History),
|
||||
Vue.component('History', History)
|
||||
Vue.component('EditSites', EditSites)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user