36 lines
797 B
Vue
36 lines
797 B
Vue
<template>
|
|
<view class="content"></view>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { reactive, inject, watch } from 'vue';
|
|
import { onLoad, onShow } from '@dcloudio/uni-app';
|
|
import useUserStore from '../../stores/useUserStore';
|
|
const { $api, navTo } = inject('globalFunction');
|
|
const userStore = useUserStore();
|
|
const state = reactive({
|
|
title: '123123123房贷首付打的手机家里好玩的很浓厚第卡后sdhiwohdijasnbdhoui1很努力',
|
|
});
|
|
onShow(() => {
|
|
console.log('onShow');
|
|
});
|
|
onLoad(() => {
|
|
console.log('onLoad');
|
|
$api.sleep(2000).then(() => {
|
|
navTo('/pages/login/login');
|
|
});
|
|
});
|
|
|
|
watch(
|
|
() => state.title,
|
|
(newValue, oldValue) => {},
|
|
{ deep: true }
|
|
);
|
|
</script>
|
|
|
|
<style lang="stylus" scoped>
|
|
.logo
|
|
width: 100px;
|
|
height: 100px;
|
|
</style>
|