From 98b5d9063b885f6705a89efc45607aea1b166f2c Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期三, 12 六月 2024 11:03:23 +0800 Subject: [PATCH] feat:登录记录信息 --- pages/login/userPassword.vue | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/pages/login/userPassword.vue b/pages/login/userPassword.vue index 224a26a..595728b 100644 --- a/pages/login/userPassword.vue +++ b/pages/login/userPassword.vue @@ -90,6 +90,7 @@ this.$reqGet('getUserEntity') .then(res => { this.$u.toast('鐧诲綍鎴愬姛'); + this.getLoginInfo(); // 璁板綍鐧诲綍淇℃伅 this.setUserTabbar(res.data.type); uni.setStorageSync('roleType', res.data.type); uni.setStorageSync("userId", res.data.userId) @@ -145,6 +146,12 @@ this.$u.toast(e); }); + }, + //璁板綍鐧诲綍淇℃伅 + getLoginInfo(){ + this.$reqPost('setApplogonTime').then((res) => { + + }) } } }; -- Gitblit v1.9.1