添加爬虫列表教程

This commit is contained in:
marvzhang
2020-01-30 09:56:45 +08:00
parent cde2d818f9
commit ef33d838ff
5 changed files with 134 additions and 22 deletions

View File

@@ -27,13 +27,15 @@ export default {
data[tourName] = 1
localStorage.setItem('tour', JSON.stringify(data))
},
options: {
labels: {
buttonSkip: i18n.t('Skip'),
buttonPrevious: i18n.t('Previous'),
buttonNext: i18n.t('Next'),
buttonStop: i18n.t('Finish')
},
highlight: true
getOptions: (isShowHighlight) => {
return {
labels: {
buttonSkip: i18n.t('Skip'),
buttonPrevious: i18n.t('Previous'),
buttonNext: i18n.t('Next'),
buttonStop: i18n.t('Finish')
},
highlight: isShowHighlight
}
}
}