From b7b02acf85e176bd3ea155b009435fec7e93b554 Mon Sep 17 00:00:00 2001 From: jia wei Date: Sun, 20 Jun 2021 20:45:19 +0800 Subject: [PATCH] feat(ajax): add log --- src/utils/ajax.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/ajax.ts b/src/utils/ajax.ts index 2f4e839..764c568 100644 --- a/src/utils/ajax.ts +++ b/src/utils/ajax.ts @@ -435,6 +435,8 @@ export class BaseAjax { config, controller, }); + } else { + console.debug(`read from cache : ${uniqueKey}`); } return caches.get(uniqueKey); }