默认关闭教程

This commit is contained in:
marvzhang
2020-03-01 10:24:31 +08:00
parent 4a91ee62a9
commit 11defc16c2
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 {