mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
优化可配置爬虫前端界面
This commit is contained in:
@@ -48,6 +48,13 @@ export default {
|
||||
FileList,
|
||||
SpiderOverview
|
||||
},
|
||||
watch: {
|
||||
activeTabName () {
|
||||
// 初始化文件
|
||||
this.$store.commit('file/SET_FILE_CONTENT', '')
|
||||
this.$store.commit('file/SET_CURRENT_PATH', '')
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
activeTabName: 'overview'
|
||||
|
||||
Reference in New Issue
Block a user