mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-27 17:50:53 +01:00
added tour for SpiderList
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import i18n from '../i18n'
|
||||
|
||||
export default {
|
||||
isFinishedTour: (tourName) => {
|
||||
if (!localStorage.getItem('tour')) {
|
||||
@@ -24,5 +26,14 @@ 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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user