默认关闭教程

This commit is contained in:
marvzhang
2020-03-01 10:24:31 +08:00
parent fa273a988e
commit a7bcda95f2
13 changed files with 45 additions and 16 deletions

View File

@@ -18,6 +18,10 @@ export default {
}
return !!data[tourName]
},
startTour: (vm, tourName) => {
if (localStorage.getItem('enableTutorial') === '0') return
vm.$tours[tourName].start()
},
finishTour: (tourName) => {
let data
try {