MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / removeLoginCache

Method removeLoginCache

wxapp/vipshop.js:268–275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

266 }
267
268 removeLoginCache() {
269 const cache = readCache();
270 if (cache[this.cacheKey]) {
271 delete cache[this.cacheKey].token;
272 delete cache[this.cacheKey].userId;
273 writeCache(cache);
274 }
275 }
276
277 loadCache() {
278 const cached = this.getCached();

Callers 1

signInfoMethod · 0.95

Calls 2

readCacheFunction · 0.70
writeCacheFunction · 0.70

Tested by

no test coverage detected