This commit is contained in:
Gdpao
2020-08-15 19:14:12 +08:00
parent 55742478b2
commit c2346375c8
8 changed files with 285 additions and 277 deletions

View File

@@ -47,6 +47,10 @@ const install = (Vue, vm) => {
// 假设201为token失效这里跳转登录
// vm.$u.toast('您还没有登录哦,请先去登录!');
if (res.data.data.action != "memberinfo") {
uni.showToast({
title: "您还没有登录,请先去登录哦!",
icon: "none"
})
setTimeout(() => {
// 此为uView的方法详见路由相关文档
uni.navigateTo({