From a0380a03c42ea1c9432cba7302ec9b65a5da9530 Mon Sep 17 00:00:00 2001 From: jscyl13849007907 <13849007907@163.com> Date: Wed, 18 Jun 2025 11:20:48 +0800 Subject: [PATCH] no message --- root/person/loginIndex.vue | 1 + utils/common.js | 1 + 2 files changed, 2 insertions(+) diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue index b534ded..f6ff232 100644 --- a/root/person/loginIndex.vue +++ b/root/person/loginIndex.vue @@ -274,6 +274,7 @@ export default { uni.setStorageSync("apply-tel", $data.tel); // 单独存储 -- 手机号,方便修改 uni.setStorageSync("apply-token", $data.token); // 单独存储 -- token,方便获取 uni.setStorageSync("apply-agencyId", $data.user.agencyId); // 单独存储 -- 代理id,方便获取 + uni.setStorageSync("apply-uid", $data.user.id); // 单独存储 -- 用户名,方便修改 uni.setStorageSync("apply-supplierAccount", $data.supplierAccount); // 单独存储 -- 是否是发单号,方便获取 0.不是发单号 1.是发单号 uni.$emit("isGlogin", { uid: $data.user.id, diff --git a/utils/common.js b/utils/common.js index d640fa3..659cbfb 100644 --- a/utils/common.js +++ b/utils/common.js @@ -27,6 +27,7 @@ let data = { uni.removeStorageSync("apply-userinfo-copy"); uni.removeStorageSync("apply-agencyId"); uni.removeStorageSync("apply-supplierAccount"); + uni.removeStorageSync("apply-uid"); }, /* 分享给好友 */