sl-express/project-wl-siji-uniapp-vue3/pages/start/index.vue
shuhongfan cf5ac25c14 init
2023-09-04 16:40:17 +08:00

25 lines
420 B
Vue

<!-- 启动页 -->
<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>