修改loading图片不显示的问题;修改登录授权逻辑

This commit is contained in:
Gao xiaosong
2021-04-11 19:42:39 +08:00
parent 29459e76ca
commit 829daf1f61
3 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<view class="lottie-bg"> <view class="lottie-bg">
<view id="lottie"> <view id="lottie">
<image :src="`${$VUE_APP_RESOURCES_URL}/images/live-logo.gif`" rel="preload" mode="widthFix" style="width: 100%;" /> <image src="@/static/live-logo.gif" rel="preload" mode="widthFix" style="width: 100%;" />
</view> </view>
</view> </view>
</template> </template>

BIN
static/live-logo.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

View File

@ -365,11 +365,11 @@ export const handleGetUserInfo = () => {
}) })
return return
} }
back()
reLaunch({ // reLaunch({
path: '/pages/home/index', // path: '/pages/home/index',
// query // // query
}) // })
// var pages = getCurrentPages() //获取加载的页面 // var pages = getCurrentPages() //获取加载的页面
// var currentPage = pages[pages.length - 1] //获取当前页面的对象 // var currentPage = pages[pages.length - 1] //获取当前页面的对象