全局数据存储用户编号

This commit is contained in:
RuoYi
2025-04-23 21:13:20 +08:00
parent c3d9e4e913
commit c9f9f5c6ff
4 changed files with 15 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import constant from './constant'
let storageKey = 'storage_data'
// 存储节点变量名
let storageNodeKeys = [constant.avatar, constant.name, constant.roles, constant.permissions]
let storageNodeKeys = [constant.avatar, constant.id, constant.name, constant.roles, constant.permissions]
const storage = {
set: function(key, value) {