Commit 341b3321c0801089695914498acfab3ead8f5d3f
1 parent
48510559
fix: get GLOBAL_PLATFORM_INFO happend error
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | ... | @@ -32,7 +32,7 @@ const GLOBAL_PLATFORM_INFO = (() => { |
| 32 | 32 | * @description user info |
| 33 | 33 | * @type {{JWT_TOKEN: {value: string}}} |
| 34 | 34 | */ |
| 35 | - const common = ls.get(GLOBAL_PLATFORM_INFO_KEY) | |
| 35 | + const common = ls.get(GLOBAL_PLATFORM_INFO_KEY) || {} | |
| 36 | 36 | return common |
| 37 | 37 | })() |
| 38 | 38 | ... | ... |