diff --git a/frontend/src/components/Node/NodeInstallation.vue b/frontend/src/components/Node/NodeInstallation.vue
index 7cf4f6b9..e0f2bb25 100644
--- a/frontend/src/components/Node/NodeInstallation.vue
+++ b/frontend/src/components/Node/NodeInstallation.vue
@@ -9,7 +9,6 @@
:placeholder="$t('Search Dependencies')"
:fetchSuggestions="fetchAllDepList"
:minlength="2"
- :disabled="isShowInstalled"
@select="onSearch"
/>
{{$t('Search')}}
@@ -187,11 +184,9 @@ export default {
}) : [])
},
onSearch () {
- if (!this.isShowInstalled) {
- this.getDepList()
- } else {
- this.getInstalledDepList()
- }
+ this.isShowInstalled = false
+ this.getDepList()
+ this.$st.sendEv('节点详情', '安装', '搜索')
},
onIsShowInstalledChange (val) {
if (val) {
@@ -200,6 +195,7 @@ export default {
this.depName = ''
this.depList = []
}
+ this.$st.sendEv('节点详情', '安装', '点击查看已安装')
},
async onClickInstallDep (dep) {
const name = dep.name
@@ -223,6 +219,7 @@ export default {
dep.installed = true
}
this.$set(this.depLoadingDict, name, false)
+ this.$st.sendEv('节点详情', '安装', '点击安装依赖')
},
async onClickUninstallDep (dep) {
const name = dep.name
@@ -246,6 +243,7 @@ export default {
dep.installed = false
}
this.$set(this.depLoadingDict, name, false)
+ this.$st.sendEv('节点详情', '安装', '点击卸载依赖')
},
getDepLoading (dep) {
const name = dep.name
@@ -271,6 +269,7 @@ export default {
})
}
this.isLoadingInstallLang = false
+ this.$st.sendEv('节点详情', '安装', '点击安装语言')
},
onTabChange () {
if (this.isShowInstalled) {
@@ -279,6 +278,7 @@ export default {
this.depName = ''
this.depList = []
}
+ this.$st.sendEv('节点详情', '安装', '切换标签')
}
},
async created () {
diff --git a/frontend/src/views/node/NodeDetail.vue b/frontend/src/views/node/NodeDetail.vue
index 10364b01..dca3d818 100644
--- a/frontend/src/views/node/NodeDetail.vue
+++ b/frontend/src/views/node/NodeDetail.vue
@@ -49,8 +49,7 @@ export default {
},
methods: {
onTabClick (name) {
- if (name === 'installation') {
- }
+ this.$st.sendEv('节点详情', '切换标签', name)
},
onNodeChange (id) {
this.$router.push(`/nodes/${id}`)
diff --git a/frontend/src/views/spider/SpiderList.vue b/frontend/src/views/spider/SpiderList.vue
index fa6c6718..d31a906f 100644
--- a/frontend/src/views/spider/SpiderList.vue
+++ b/frontend/src/views/spider/SpiderList.vue
@@ -163,8 +163,8 @@
-
+