From a2f3c0520fe861fb68c85a9ca92580ded66f4e60 Mon Sep 17 00:00:00 2001 From: jackd320 Date: Tue, 26 Jul 2022 11:41:04 +0000 Subject: [PATCH] Signed-off-by: jackd320 --- runtime/main/extend/systemplugin/napi/ohos_update.js | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime/main/extend/systemplugin/napi/ohos_update.js b/runtime/main/extend/systemplugin/napi/ohos_update.js index 6a7f1086..1e45391f 100644 --- a/runtime/main/extend/systemplugin/napi/ohos_update.js +++ b/runtime/main/extend/systemplugin/napi/ohos_update.js @@ -280,6 +280,7 @@ export function mockUpdate() { EventClassifyInfo, UpgradeFile, DescriptionOptions, + DescriptionFormat, 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.")