You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
473 B
23 lines
473 B
<template>
|
|
启动页
|
|
</template>
|
|
|
|
<script setup>
|
|
setTimeout(() => {
|
|
// 判断是否第一次打开App
|
|
let openNum = uni.$storage.getStorageSync('fistOpenApp');
|
|
if (openNum === 'true') {
|
|
uni.navigateTo({
|
|
url: '/pages/index/index'
|
|
})
|
|
} else {
|
|
uni.$storage.setStorageSync('fistOpenApp', 'true');
|
|
uni.navigateTo({
|
|
url: '/pages/guide/guide'
|
|
})
|
|
}
|
|
}, 3000);
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|
|
|