From 98537bd4182ca240d50cc77a3fb25cbaf67d83f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B1=9F=E6=B5=B7?= Date: Fri, 22 Jul 2022 09:49:40 +0000 Subject: [PATCH] =?UTF-8?q?Signed-off-by:=20=E6=B1=9F=E6=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runtime/main/extend/systemplugin/napi/ohos_update.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/runtime/main/extend/systemplugin/napi/ohos_update.js b/runtime/main/extend/systemplugin/napi/ohos_update.js index c5a40d7e..deba644b 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_update.js +++ b/runtime/main/extend/systemplugin/napi/ohos_update.js @@ -255,7 +255,6 @@ export function mockUpdate() { ClearOptions, EventClassifyInfo, UpgradeFile, - UpgradeTaskCallback, getOnlineUpdater: function (...args) { console.warn("update.getOnlineUpdater interface mocked in the Previewer. How this interface works on the" + " Previewer may be different from that on a real device.") @@ -466,8 +465,4 @@ const EventClassifyInfo = { const UpgradeFile = { fileType: ComponentType, filePath: "[PC Preview] unknown filePath" -} - -const UpgradeTaskCallback = { - UpgradeTaskCallback: (eventInfo) => {} } \ No newline at end of file