Commit 28059df8 by pangchong

feat: 优化

parent 39186a0a
<script>
import useUserStore from 'mocp/store/user'
export default {
onLaunch: function () {
const userStore = useUserStore()
if (!userStore.token) {
uni.$mocpJump.redirectTo('/login/index')
}
console.log('App Launch')
},
onShow: function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment