From c941152e721d4a1f094d0a17c14f4ea0737e3790 Mon Sep 17 00:00:00 2001 From: hjm <63528605@qq.com> Date: Fri, 27 Sep 2019 15:01:33 +0800 Subject: [PATCH] const $ = window.$ --- public/react/src/AppConfig.js | 1 + 1 file changed, 1 insertion(+) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index a92b83b4b..d402da0ec 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -208,6 +208,7 @@ export function initAxiosInterceptors(props) { function initOnlineOfflineListener() { + const $ = window.$ $(window).bind("online", () => { notification.destroy() notification.success({