|
|
@@ -49,8 +49,11 @@ export function useKaoShiCache() {
|
|
|
function removeCacheKsOther(key) {
|
|
|
const data = getCacheOtherNotKey(ksCache)
|
|
|
if (data) {
|
|
|
- const newData = data[key];
|
|
|
- saveCache(ksCache, key, newData)
|
|
|
+ Object.keys(data).forEach(item => {
|
|
|
+ if (item != key) {
|
|
|
+ removeCacheKs(item)
|
|
|
+ }
|
|
|
+ })
|
|
|
}
|
|
|
}
|
|
|
|