sl-express/project-wl-siji-uniapp-vue3/pages/start/index.vue

25 lines
420 B
Vue
Raw Permalink Normal View History

2023-09-04 16:40:17 +08:00
<!-- 启动页 -->
<template>
<view class="starPage"></view>
</template>
<script>
import { ref, onMounted } from 'vue';
export default {
name: 'StarPage',
setup: props => {
onMounted(() => {
const times = setTimeout(() => {
uni.redirectTo({
url: '/pages/login/user'
});
clearTimeout(times);
}, 1000);
});
return {};
}
};
</script>
<style src="./index.scss" lang="scss" scoped></style>