Merge pull request 'gdpaoup' (#216) from gyh into master

Reviewed-on: http://git.luyuan.tk/luyuan/deming/pulls/216
This commit was merged in pull request #216.
This commit is contained in:
gyh
2020-08-15 19:14:58 +08:00
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({