修复:认领车辆

This commit is contained in:
2025-06-24 17:33:51 +08:00
parent a4130940c0
commit bd676b3147
4 changed files with 26 additions and 28 deletions

View File

@@ -31,6 +31,7 @@ const Header = (props: any) => {
})
getUserInfo().then((data) => {
if (data) {
console.log(data.organizationName,'0000')
setIsLogin(true);
Taro.setStorageSync('UserId', data.userId)
Taro.setStorageSync('Phone',data.phone)
@@ -40,6 +41,10 @@ const Header = (props: any) => {
getOrganization(Number(data.organizationId)).then(res => {
Taro.setStorageSync('OrganizationParentId',res.parentId)
})
// 所属站点名称
if(data.organizationName){
Taro.setStorageSync('OrganizationName',data.organizationName)
}
// 是否已认证
if(data.certification){
Taro.setStorageSync('Certification','1')