加入统计

This commit is contained in:
marvzhang
2020-03-11 20:36:38 +08:00
parent 59a5888b2c
commit 15e4b10293

View File

@@ -2,6 +2,7 @@
<el-tabs
v-model="activeTabName"
class="git-settings"
@change="onChangeTab"
>
<el-tab-pane :label="$t('Settings')" name="settings">
<el-form
@@ -357,7 +358,7 @@ export default {
this.isGitCheckoutLoading = false
await this.getCommits()
}
this.$st.sendEv('爬虫详情', 'Git', 'Checkout')
this.$st.sendEv('爬虫详情', 'Git Log', 'Checkout')
},
async updateGit () {
this.getCommits()
@@ -377,6 +378,9 @@ export default {
if (c.remote_branches && c.remote_branches.length) {
return 'info'
}
},
onChangeTab () {
this.$st.sendEv('爬虫详情', 'Git 切换标签', this.activeTabName)
}
},
async created () {