You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
590 B
Vue

<template>
<view class="container">
<view class="loading">正在跳转...</view>
</view>
</template>
<script>
export default {
data() {
return {}
},
onLoad() {
const token = uni.getStorageSync("access_token");
if (token) {
uni.reLaunch({
url: '/pages/CheckItemMainList'
});
} else {
uni.reLaunch({
url: '/pages/Login'
});
}
}
}
</script>
<style>
.container {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
background: #F5F7FA;
}
.loading {
color: #999999;
font-size: 28rpx;
}
</style>