🐛 fix client id persistence issue

This commit is contained in:
landaiqing
2024-09-05 17:05:24 +08:00
parent ec6b0a9c9f
commit 834174c7cb
3 changed files with 37 additions and 46 deletions

View File

@@ -20,12 +20,12 @@ export const useClientStore = defineStore(
getClientId
};
},
{
// 开启数据持久化
persist: {
key: 'clientId',
storage: localStorage,
paths: ["clientId"],
}
}
// {
// // 开启数据持久化
// persist: {
// key: 'clientId',
// storage: localStorage,
// paths: ["clientId"],
// }
// }
);