1
0
mirror of https://github.com/zclzone/vue-naive-admin.git synced 2025-04-30 22:29:01 +08:00

refactor: 操作指引改成非自动触发

This commit is contained in:
zclzone 2025-03-18 10:14:20 +08:00
parent 82748abcc3
commit 70c2098d2e

View File

@ -40,7 +40,6 @@
</template>
<script setup>
import { lStorage } from '@/utils'
import Vue3IntroStep from 'vue3-intro-step'
const myIntroStep = shallowRef(null)
@ -101,19 +100,11 @@ const config = {
],
}
onMounted(() => {
if (lStorage.get('beginner-guide') === true)
return
show.value = true
})
function skip() {
lStorage.set('beginner-guide', true)
show.value = false
}
function done() {
lStorage.set('beginner-guide', true)
show.value = false
}