From 85de6dfd8339d531a7744042afdb65ac71b41b5b Mon Sep 17 00:00:00 2001 From: pengyuthon Date: Tue, 10 Mar 2026 12:59:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=8F=E7=BA=A2=E7=82=B9=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sun_badge_menu/static/src/webclient/navbar/navbar.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sun_badge_menu/static/src/webclient/navbar/navbar.js b/sun_badge_menu/static/src/webclient/navbar/navbar.js index 2c587965e..4e6b5be46 100644 --- a/sun_badge_menu/static/src/webclient/navbar/navbar.js +++ b/sun_badge_menu/static/src/webclient/navbar/navbar.js @@ -5,7 +5,6 @@ import { patch } from "@web/core/utils/patch"; import { deepCopy } from "@web/core/utils/objects"; import { useService } from "@web/core/utils/hooks"; import { url } from "@web/core/utils/urls"; -import { clickRefreshButton } from "../actions/client_actions" const WKF_NOTIFY_TYPE = 'wkf_notify' @@ -32,15 +31,6 @@ patch(NavBar.prototype, { console.log(e) }); } - // if (d?.type === WKF_NOTIFY_TYPE) { - // this.menuService.reload(); - // return this.audio.play() - // .then(() => { - // clickRefreshButton(); - // }).catch((e) => { - // console.log(e) - // }); - // } } const oldMenuApps = deepCopy(this.menuService.getApps()) @@ -69,7 +59,6 @@ patch(NavBar.prototype, { } } } - // clickRefreshButton(); }, 300) }); }