From 00e9cc98340372f47d98670291565d3e9e9acb49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=81=E7=AB=9E=E8=8E=9C?= Date: Thu, 28 Aug 2025 20:58:29 +0800 Subject: [PATCH] filemanager MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 宁竞莜 --- interfaces/kits/js/src/mod_fs/properties/connectdfs.cpp | 2 +- interfaces/kits/js/src/mod_fs/properties/connectdfs.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/connectdfs.cpp b/interfaces/kits/js/src/mod_fs/properties/connectdfs.cpp index 1ea443dc7..380ba3502 100644 --- a/interfaces/kits/js/src/mod_fs/properties/connectdfs.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/connectdfs.cpp @@ -286,7 +286,7 @@ void UvWorkAfterOnStaus(ConnectDfsCB *connectDfsCB) HILOGI("UvWorkAfterOnStaus end"); } -void NAPIDfsListener::OnStatus(const std::string &networkId, int32_t status) +void NAPIDfsListener::OnStatus(const std::string &networkId, int32_t status, const std::string &path, int32_t type) { HILOGI("NAPIDfsListener::OnStatus called"); diff --git a/interfaces/kits/js/src/mod_fs/properties/connectdfs.h b/interfaces/kits/js/src/mod_fs/properties/connectdfs.h index 42438ad2e..45a3e740b 100644 --- a/interfaces/kits/js/src/mod_fs/properties/connectdfs.h +++ b/interfaces/kits/js/src/mod_fs/properties/connectdfs.h @@ -57,7 +57,7 @@ struct DfsConnectCB { class NAPIDfsListener : public FileDfsListenerStub { public: - void OnStatus(const std::string &networkId, int32_t status) override; + void OnStatus(const std::string &networkId, int32_t status, const std::string &path, int32_t type) override; void SetConnectDfsEnv(const napi_env &env); void SetConnectDfsCBRef(const napi_ref &ref); void SetConnectDfsPromiseRef(const napi_deferred &promiseDeferred); -- Gitee