Browse Source

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

zyh
Gao xiaosong 4 years ago
parent
commit
829daf1f61
  1. 2
      pages/Loading/index.vue
  2. BIN
      static/live-logo.gif
  3. 10
      utils/index.js

2
pages/Loading/index.vue

@ -1,7 +1,7 @@
<template>
<view class="lottie-bg">
<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>
</template>

BIN
static/live-logo.gif

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.8 KiB

10
utils/index.js

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

Loading…
Cancel
Save