mirror of
https://github.com/zclzone/vue-naive-admin.git
synced 2025-04-30 22:29:01 +08:00
Compare commits
2 Commits
e5fd1405da
...
70c2098d2e
Author | SHA1 | Date | |
---|---|---|---|
|
70c2098d2e | ||
|
82748abcc3 |
@ -40,7 +40,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { lStorage } from '@/utils'
|
|
||||||
import Vue3IntroStep from 'vue3-intro-step'
|
import Vue3IntroStep from 'vue3-intro-step'
|
||||||
|
|
||||||
const myIntroStep = shallowRef(null)
|
const myIntroStep = shallowRef(null)
|
||||||
@ -101,19 +100,11 @@ const config = {
|
|||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
||||||
onMounted(() => {
|
|
||||||
if (lStorage.get('beginner-guide') === true)
|
|
||||||
return
|
|
||||||
show.value = true
|
|
||||||
})
|
|
||||||
|
|
||||||
function skip() {
|
function skip() {
|
||||||
lStorage.set('beginner-guide', true)
|
|
||||||
show.value = false
|
show.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
function done() {
|
function done() {
|
||||||
lStorage.set('beginner-guide', true)
|
|
||||||
show.value = false
|
show.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,13 +8,13 @@
|
|||||||
|
|
||||||
import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders'
|
import { FileSystemIconLoader } from '@iconify/utils/lib/loader/node-loaders'
|
||||||
import presetRemToPx from '@unocss/preset-rem-to-px'
|
import presetRemToPx from '@unocss/preset-rem-to-px'
|
||||||
import { defineConfig, presetAttributify, presetIcons, presetUno } from 'unocss'
|
import { defineConfig, presetAttributify, presetIcons, presetWind3 } from 'unocss'
|
||||||
import { getIcons } from './build/index.js'
|
import { getIcons } from './build/index.js'
|
||||||
|
|
||||||
const icons = getIcons()
|
const icons = getIcons()
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
presets: [
|
presets: [
|
||||||
presetUno(),
|
presetWind3(),
|
||||||
presetAttributify(),
|
presetAttributify(),
|
||||||
presetIcons({
|
presetIcons({
|
||||||
warn: true,
|
warn: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user