加入教程数据统计

This commit is contained in:
marvzhang
2020-02-01 18:00:33 +08:00
parent 95c1be610b
commit acfbcad75c
13 changed files with 100 additions and 13 deletions

View File

@@ -477,6 +477,7 @@ export default {
} else if (currentStep === 12) {
this.activeTab = 'settings'
}
this.$utils.tour.prevStep('spider-detail-confg', currentStep)
},
onNextStep: (currentStep) => {
if (currentStep === 9) {
@@ -486,6 +487,7 @@ export default {
} else if (currentStep === 11) {
this.activeTab = 'spiderfile'
}
this.$utils.tour.nextStep('spider-detail-config', currentStep)
}
}
}

View File

@@ -203,18 +203,7 @@ export default {
dirDialogVisible: false,
fileDialogVisible: false,
nodeExpandedDict: {},
isShowDeleteNav: false,
tourSteps: [
{
target: '.add-btn',
content: this.$t('You can add a file or directory')
}
],
tourCallbacks: {
onStop: () => {
this.$utils.tour.finishTour('spider-detail-file-list')
}
}
isShowDeleteNav: false
}
},
computed: {